CmFontImportOptionsRTTI.h 643 B

123456789101112131415161718192021222324252627282930313233343536
  1. #pragma once
  2. #include "CmPrerequisites.h"
  3. #include "CmRTTIType.h"
  4. #include "CmFontImportOptions.h"
  5. namespace CamelotFramework
  6. {
  7. class CM_EXPORT FontImportOptionsRTTI : public RTTIType<FontImportOptions, IReflectable, FontImportOptionsRTTI>
  8. {
  9. private:
  10. public:
  11. FontImportOptionsRTTI()
  12. {
  13. }
  14. virtual const String& getRTTIName()
  15. {
  16. static String name = "FontImportOptions";
  17. return name;
  18. }
  19. virtual UINT32 getRTTIId()
  20. {
  21. return TID_FontImportOptions;
  22. }
  23. virtual std::shared_ptr<IReflectable> newRTTIObject()
  24. {
  25. return cm_shared_ptr<FontImportOptions, PoolAlloc>();
  26. }
  27. };
  28. }