mirror of https://github.com/AxioDL/metaforce.git
Initial `genie` API implementation
This commit is contained in:
parent
0760f299ab
commit
5983071127
|
@ -60,7 +60,8 @@ list(APPEND SPECTER_HEADERS
|
|||
include/specter/FileBrowser.hpp
|
||||
include/specter/Icon.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)
|
||||
|
||||
|
|
|
@ -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__
|
Loading…
Reference in New Issue