Utility.h 802 B

1234567891011121314151617181920212223242526272829
  1. #ifndef SINGLEAPPLICATION_H
  2. #define SINGLEAPPLICATION_H
  3. #include <QString>
  4. #include <string>
  5. bool memallocload();
  6. bool driverload();
  7. bool acquireApplication(const std::string &key = std::string("ArkMicro"), const bool block = true);
  8. bool releaseApplication(const std::string &key = std::string("ArkMicro"));
  9. bool initializeArkVideoResources();
  10. bool hideArkStartupLogo();
  11. bool capacitiveScreen();
  12. QString compilerDate();
  13. QString osVersion();
  14. bool setDateTime(const int year,
  15. const int month,
  16. const int day,
  17. const int hour,
  18. const int minute,
  19. const int second);
  20. typedef void (*HANDLER) (void*);
  21. HANDLER acquirePreemptiveResource(HANDLER callback, void *parameter);
  22. void clearOwner();
  23. #endif // SINGLEAPPLICATION_H