QsApp.h 285 B

12345678910111213141516
  1. #pragma once
  2. #include <QtWidgets/qwidget.h>
  3. #include <string>
  4. #include <Kaguya/kaguya.hpp>
  5. #include "QsBuffer.h"
  6. class QsApp
  7. {
  8. public:
  9. QsApp();
  10. ~QsApp();
  11. static void regist(kaguya::State& T);
  12. private:
  13. static void quit();
  14. static QsBuffer read_res(const std::string& filepath);
  15. };