| 12345678910111213141516171819202122232425262728293031323334353637 |
- #pragma once
- #include "BsEditorPrerequisites.h"
- #include "BsSettings.h"
- namespace BansheeEngine
- {
- /**
- * @brief Contains various globally accessible project-specific preferences.
- */
- class BS_ED_EXPORT ProjectSettings : public Settings
- {
- public:
- ProjectSettings();
- /**
- * @brief Retrieves the UUID of the last scene open in the editor.
- */
- String getLastOpenScene() const { return mLastOpenScene; }
- /**
- * @brief Sets the UUID of the last scene open in the editor.
- */
- void setLastOpenScene(const String& value) { mLastOpenScene = value; markAsDirty(); }
- private:
- String mLastOpenScene;
- /************************************************************************/
- /* RTTI */
- /************************************************************************/
- public:
- friend class ProjectSettingsRTTI;
- static RTTITypeBase* getRTTIStatic();
- virtual RTTITypeBase* getRTTI() const override;
- };
- }
|