FileUtils.h 966 B

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