| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- #pragma once
- #include "BsEditorPrerequisites.h"
- #include "BsIReflectable.h"
- namespace BansheeEngine
- {
- enum class PlatformType
- {
- Windows,
- Count // Keep at end
- };
- struct BS_ED_EXPORT PlatformInfo : public IReflectable
- {
- PlatformInfo();
- virtual ~PlatformInfo();
- PlatformType type;
- WString defines;
- /************************************************************************/
- /* RTTI */
- /************************************************************************/
- public:
- friend class PlatformInfoRTTI;
- static RTTITypeBase* getRTTIStatic();
- virtual RTTITypeBase* getRTTI() const;
- };
- struct BS_ED_EXPORT WinPlatformInfo : public PlatformInfo
- {
- WinPlatformInfo();
- bool is32bit;
- /************************************************************************/
- /* RTTI */
- /************************************************************************/
- public:
- friend class WinPlatformInfoRTTI;
- static RTTITypeBase* getRTTIStatic();
- virtual RTTITypeBase* getRTTI() const;
- };
- }
|