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
|
|
|
|
|
2023-01-17 22:01:35 +02:00
|
|
|
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();
|
2023-01-17 22:01:35 +02:00
|
|
|
};
|