1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-28 08:48:48 +02:00
vcmi/client/gui/NotificationHandler.h
Ivan Savenko ee7a573cb8 Refactoring of SDL API usage:
- Rect no longer inherits from SDL_Rect
- renamed vcmi functions that used SDL naming format
- moved all functions in SDL_Extensions file into CSDL_Ext namespace
- SDL_Rect is now used only by SDL_Extensions, all other code uses Rect
2023-01-20 16:11:43 +02:00

24 lines
471 B
C++

/*
* NotificationHandler.h, part of VCMI engine
*
* Authors: listed in file AUTHORS in main folder
*
* License: GNU General Public License v2.0 or later
* Full text of license available in license.txt file, in main folder
*
*/
#pragma once
struct SDL_Window;
union SDL_Event;
class NotificationHandler
{
public:
static void notify(std::string msg);
static void init(SDL_Window * window);
static bool handleSdlEvent(const SDL_Event & ev);
static void destroy();
};