NotificationHandler.h 471 B

1234567891011121314151617181920212223
  1. /*
  2. * NotificationHandler.h, part of VCMI engine
  3. *
  4. * Authors: listed in file AUTHORS in main folder
  5. *
  6. * License: GNU General Public License v2.0 or later
  7. * Full text of license available in license.txt file, in main folder
  8. *
  9. */
  10. #pragma once
  11. struct SDL_Window;
  12. union SDL_Event;
  13. class NotificationHandler
  14. {
  15. public:
  16. static void notify(std::string msg);
  17. static void init(SDL_Window * window);
  18. static bool handleSdlEvent(const SDL_Event & ev);
  19. static void destroy();
  20. };