app.hpp 329 B

12345678910111213141516171819202122232425
  1. #ifndef SAURA_APP_HPP_
  2. #define SAURA_APP_HPP_
  3. #include "saura/core/os/os.hpp"
  4. #include <SDL3/SDL_render.h>
  5. #include <SDL3/SDL_video.h>
  6. #include <memory>
  7. namespace saura {
  8. class App {
  9. private:
  10. std::unique_ptr<os::Context> os_ctx;
  11. bool is_running;
  12. public:
  13. App();
  14. ~App();
  15. void run();
  16. };
  17. } // namespace saura
  18. #endif