SdlWindowApiEventManager.hpp 737 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * author: Patrick-Christopher Mattulat
  3. * e-mail: webmaster@lynarstudios.com
  4. */
  5. #ifndef LS_ATLANTIS_ENGINE_WINDOW_SDL_WINDOW_API_EVENT_MANAGER_HPP
  6. #define LS_ATLANTIS_ENGINE_WINDOW_SDL_WINDOW_API_EVENT_MANAGER_HPP
  7. #include <Export.hpp>
  8. #include <SDL3/SDL.h>
  9. #include <interface/IWindowApiEventManager.hpp>
  10. namespace ls::atlantis::window
  11. {
  12. class LS_ATLANTIS_DYNAMIC_GOAL SdlWindowApiEventManager : public ls::atlantis::interfaces::IWindowApiEventManager
  13. {
  14. public:
  15. SdlWindowApiEventManager();
  16. ~SdlWindowApiEventManager() override;
  17. void manage(const ::std::shared_ptr<ls::atlantis::interfaces::IKeyboard> &_keyboard) override;
  18. private:
  19. ::std::shared_ptr<SDL_Event> sdlEvent{};
  20. };
  21. }
  22. #endif