| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- //
- // 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 <Atomic/Core/Object.h>
- 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_;
- };
- }
|