// // Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved // LICENSE: Atomic Game Engine Editor and Tools EULA // Please see LICENSE_ATOMIC_EDITOR_AND_TOOLS.md in repository root for // license information: https://github.com/AtomicGameEngine/AtomicGameEngine // #pragma once #include using namespace Atomic; #include "../Platform/Platform.h" namespace ToolCore { class ProjectUserPrefs : public Object { friend class Project; OBJECT(ProjectUserPrefs); public: /// Construct. ProjectUserPrefs(Context* context); /// Destruct. virtual ~ProjectUserPrefs(); // platform used when not specified PlatformID GetDefaultPlatform() const { return defaultPlatform_; } const String& GetLastBuildPath() { return lastBuildPath_; } void SetLastBuildPath(const String& path) { lastBuildPath_ = path; } private: bool Load(const String& path); void Save(const String& path); PlatformID defaultPlatform_; String lastBuildPath_; }; }