FileUtils.h 489 B

12345678910111213141516171819202122232425262728293031323334
  1. #pragma once
  2. #include <Atomic/Core/Object.h>
  3. using namespace Atomic;
  4. namespace AtomicEditor
  5. {
  6. class FileUtils : public Object
  7. {
  8. OBJECT(FileUtils);
  9. public:
  10. /// Construct.
  11. FileUtils(Context* context);
  12. /// Destruct.
  13. ~FileUtils();
  14. bool CreateDirs(const String& folder);
  15. String OpenProjectFileDialog();
  16. String NewProjectFileDialog();
  17. String GetBuildPath(const String& defaultPath);
  18. void RevealInFinder(const String& fullpath);
  19. private:
  20. };
  21. }