ProjectUtils.h 925 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. // Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved
  2. // Please see LICENSE.md in repository root for license information
  3. // https://github.com/AtomicGameEngine/AtomicGameEngine
  4. #pragma once
  5. #include <Atomic/Core/Object.h>
  6. using namespace Atomic;
  7. namespace AtomicEditor
  8. {
  9. class ProjectUtils : public Object
  10. {
  11. OBJECT(ProjectUtils);
  12. void OpenProjectFileDialog();
  13. String NewProjectFileDialog();
  14. void RevealInFinder(const String& fullpath);
  15. String GetBuildPath(const String& defaultPath);
  16. String GetAndroidSDKPath(const String& defaultPath);
  17. String GetAntPath(const String& defaultPath);
  18. String GetJDKRootPath(const String& defaultPath);
  19. String GetMobileProvisionPath();
  20. public:
  21. /// Construct.
  22. ProjectUtils(Context* context);
  23. /// Destruct.
  24. ~ProjectUtils();
  25. private:
  26. void HandleEditorShutdown(StringHash eventType, VariantMap& eventData);
  27. };
  28. }