diff --git a/DistributionChart2D.cpp b/DistributionChart2D.cpp index 1f34314..668f6a5 100644 --- a/DistributionChart2D.cpp +++ b/DistributionChart2D.cpp @@ -1,5 +1,5 @@ #include -#include +#include #include #include #include diff --git a/datatype/ram/RuntimeAssetManager.h b/datatype/ram/RuntimeAssetManager.h index c978f8d..aa68dc4 100644 --- a/datatype/ram/RuntimeAssetManager.h +++ b/datatype/ram/RuntimeAssetManager.h @@ -89,4 +89,33 @@ public: } }; +#define HGL_RUNTIME_ASSET_CLASS(RA_ID_TYPE,_RA_CLASS) + #define HGL_RUNTIME_ASSET_DECLARATION(RA_ID_TYPE,RA_CLASS) RuntimeAssetManager RuntimeAsset::RAM; + +/** + * Example: + * + * MyRuntimeAsset.h + * + * using MyAssetID=uint; + * + * struct MyRuntimeAsset:public RuntimeAsset + * { + * public: + * + * using RuntimeAsset::RuntimeAsset; + * }; + * + * MyRuntimeAsset.cpp + * + * #include"MyRuntimeAsset.h" + * + * HGL_RUNTIME_ASSET_DECLARATION(MyAssetID,MyRuntimeAsset); + * + */ + + + + +