Merge commit '95e6545'

This commit is contained in:
Phillip Stephens 2017-12-15 18:15:20 -08:00
commit 971a1301e7
2 changed files with 17 additions and 1 deletions

View File

@ -60,7 +60,8 @@ list(APPEND SPECTER_HEADERS
include/specter/FileBrowser.hpp include/specter/FileBrowser.hpp
include/specter/Icon.hpp include/specter/Icon.hpp
include/specter/FontCache.hpp include/specter/FontCache.hpp
include/specter/Translator.hpp) include/specter/Translator.hpp
include/specter/genie.hpp)
atdna(atdna_FontCache.cpp include/specter/FontCache.hpp) atdna(atdna_FontCache.cpp include/specter/FontCache.hpp)

View File

@ -0,0 +1,15 @@
#ifndef __SPECTER_GENIE_HPP__
#define __SPECTER_GENIE_HPP__
#if __specter__
#define SPECTER_PROPERTY(n, d) \
[[using specter: name(n), description(d)]]
#define SPECTER_ENUM(n, d, et) \
[[using specter: name(n), description(d), enum_type(et)]]
#else
#define SPECTER_PROPERTY(n, d)
#define SPECTER_ENUM(n, d, et)
#endif
#endif //__SPECTER_GENIE_HPP__