ProjectUserPrefs.h 647 B

1234567891011121314151617181920212223242526272829303132333435
  1. #pragma once
  2. #include <Atomic/Core/Object.h>
  3. using namespace Atomic;
  4. #include "../Platform/Platform.h"
  5. namespace ToolCore
  6. {
  7. class ProjectUserPrefs : public Object
  8. {
  9. OBJECT(ProjectUserPrefs);
  10. public:
  11. /// Construct.
  12. ProjectUserPrefs(Context* context);
  13. /// Destruct.
  14. virtual ~ProjectUserPrefs();
  15. // platform used when not specified
  16. PlatformID GetDefaultPlatform() const { return defaultPlatform_; }
  17. const String& GetLastBuildPath() { return lastBuildPath_; }
  18. void SetLastBuildPath(const String& path) { lastBuildPath_ = path; }
  19. private:
  20. PlatformID defaultPlatform_;
  21. String lastBuildPath_;
  22. };
  23. }