diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-06-20 12:40:18 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-06-20 12:40:18 (GMT) |
| commit | 2be9c925088c16beb144dd9932202416d00ff581 (patch) | |
| tree | 51f8ccbf2b0b051890c5f5d12fa28a67635c06c2 /src/game/GameModel.h | |
| parent | 9769239af69695e9a7f8cf103a197695ecf691e0 (diff) | |
| download | powder-2be9c925088c16beb144dd9932202416d00ff581.zip powder-2be9c925088c16beb144dd9932202416d00ff581.tar.gz | |
OpenGL canvas for Windows, Notifications for main Game, Update checker in Client (+ other client triggered events)
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 |
