diff options
author | crupest <crupest@outlook.com> | 2018-11-09 19:59:57 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2018-11-09 19:59:57 +0800 |
commit | 6515948e3f5b97f90446536f72e99d71e96f9de7 (patch) | |
tree | 2c962abc3447529e10e0b1d255757f60aaf9f2c6 /src/application.hpp | |
parent | efdce672123284847bd7fb6f12ac1ec96f28f3ef (diff) | |
download | cru-6515948e3f5b97f90446536f72e99d71e96f9de7.tar.gz cru-6515948e3f5b97f90446536f72e99d71e96f9de7.tar.bz2 cru-6515948e3f5b97f90446536f72e99d71e96f9de7.zip |
Add AnyMap.
Diffstat (limited to 'src/application.hpp')
-rw-r--r-- | src/application.hpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/application.hpp b/src/application.hpp index fe38ba0f..48c87a7a 100644 --- a/src/application.hpp +++ b/src/application.hpp @@ -6,6 +6,7 @@ #include <functional> #include "base.hpp" +#include "any_map.h" namespace cru { @@ -121,6 +122,11 @@ namespace cru return caret_info_; } + AnyMap* GetThemeMap() + { + return &theme_map_; + } + #ifdef CRU_DEBUG_LAYOUT const DebugLayoutResource* GetDebugLayoutResource() const { @@ -143,6 +149,8 @@ namespace cru #endif CaretInfo caret_info_; + + AnyMap theme_map_{}; }; |