diff options
Diffstat (limited to 'src/game/GameModel.h')
| -rw-r--r-- | src/game/GameModel.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/game/GameModel.h b/src/game/GameModel.h index 9faf5fc..48364a7 100644 --- a/src/game/GameModel.h +++ b/src/game/GameModel.h @@ -10,6 +10,7 @@ #include "GameView.h" #include "Brush.h" #include "client/User.h" +#include "Notification.h" #include "Tool.h" #include "Menu.h" @@ -32,6 +33,7 @@ public: class GameModel { private: + vector<Notification*> notifications; //int clipboardSize; //unsigned char * clipboardData; GameSave * stamp; @@ -67,6 +69,7 @@ private: void notifyPlaceSaveChanged(); void notifyColourSelectorColourChanged(); void notifyColourSelectorVisibilityChanged(); + void notifyNotificationsChanged(); void notifyLogChanged(string entry); public: GameModel(); @@ -120,6 +123,10 @@ public: GameSave * GetClipboard(); GameSave * GetStamp(); GameSave * GetPlaceSave(); + + std::vector<Notification*> GetNotifications(); + void AddNotification(Notification * notification); + void RemoveNotification(Notification * notification); }; #endif // GAMEMODEL_H |
