mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-23 00:28:08 +02:00
tray notification for windows
This commit is contained in:
committed by
Andrii Danylchenko
parent
45bdacb119
commit
2fc7cf02b0
@ -62,6 +62,7 @@
|
||||
#include "CServerHandler.h"
|
||||
// FIXME: only needed for CGameState::mutex
|
||||
#include "../lib/CGameState.h"
|
||||
#include "gui/NotificationHandler.h"
|
||||
|
||||
|
||||
// The macro below is used to mark functions that are called by client when game state changes.
|
||||
@ -166,6 +167,8 @@ void CPlayerInterface::yourTurn()
|
||||
GH.curInt = this;
|
||||
adventureInt->selection = nullptr;
|
||||
|
||||
NotificationHandler::notify("Your turn");
|
||||
|
||||
std::string prefix = settings["session"]["saveprefix"].String();
|
||||
int frequency = static_cast<int>(settings["general"]["saveFrequency"].Integer());
|
||||
if (firstCall)
|
||||
|
Reference in New Issue
Block a user