QsSystem.h 376 B

1234567891011121314151617
  1. #pragma once
  2. #include <string>
  3. #include <vector>
  4. #include <Kaguya/kaguya.hpp>
  5. class QsSystem
  6. {
  7. public:
  8. QsSystem();
  9. ~QsSystem();
  10. static void regist(kaguya::State& T);
  11. private:
  12. static std::string current_dir();
  13. static std::string mac();
  14. static void notification(const std::string& title, const std::string& message);
  15. static void open_browser(const std::string& url);
  16. };