1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00
vcmi/client/eventsSDL/NotificationHandler.h

24 lines
471 B
C++
Raw Normal View History

2020-03-22 15:57:13 +02:00
/*
2022-12-12 01:27:59 +02:00
* NotificationHandler.h, part of VCMI engine
2020-03-22 15:57:13 +02:00
*
* 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;
2020-03-22 15:57:13 +02:00
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();
};