helper.h 606 B

123456789101112131415161718192021222324252627
  1. /*
  2. * helper.h, part of VCMI engine
  3. *
  4. * Authors: listed in file AUTHORS in main folder
  5. *
  6. * License: GNU General Public License v2.0 or later
  7. * Full text of license available in license.txt file, in main folder
  8. *
  9. */
  10. #pragma once
  11. #include <QString>
  12. class QObject;
  13. class MainWindow;
  14. namespace Helper
  15. {
  16. void loadSettings();
  17. void reLoadSettings();
  18. void enableScrollBySwiping(QObject * scrollTarget);
  19. QString getRealPath(QString path);
  20. bool performNativeCopy(QString src, QString dst);
  21. void revealDirectoryInFileBrowser(QString path);
  22. MainWindow * getMainWindow();
  23. void keepScreenOn(bool isEnabled);
  24. }