ISdlApi.hpp 637 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * author: Patrick-Christopher Mattulat
  3. * e-mail: webmaster@lynarstudios.com
  4. */
  5. #ifndef LS_ATLANTIS_ENGINE_INTERFACE_SDL_API_HPP
  6. #define LS_ATLANTIS_ENGINE_INTERFACE_SDL_API_HPP
  7. #include <Export.hpp>
  8. #include <SDL3/SDL.h>
  9. namespace ls::atlantis::interfaces
  10. {
  11. class LS_ATLANTIS_DYNAMIC_GOAL ISdlApi
  12. {
  13. public:
  14. ISdlApi();
  15. virtual ~ISdlApi();
  16. virtual SDL_Window *CreateWindow(const char *_title, int _width, int _height, SDL_WindowFlags _flags) = 0;
  17. virtual void DestroyWindow(SDL_Window *_window) = 0;
  18. virtual bool Init(SDL_InitFlags flags) = 0;
  19. virtual void Quit() = 0;
  20. };
  21. }
  22. #endif