summaryrefslogtreecommitdiff
path: root/src/game/GameController.h
diff options
context:
space:
mode:
authorSimon 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)
commit2be9c925088c16beb144dd9932202416d00ff581 (patch)
tree51f8ccbf2b0b051890c5f5d12fa28a67635c06c2 /src/game/GameController.h
parent9769239af69695e9a7f8cf103a197695ecf691e0 (diff)
downloadpowder-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/GameController.h')
-rw-r--r--src/game/GameController.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/game/GameController.h b/src/game/GameController.h
index ecbe9b3..269cdf5 100644
--- a/src/game/GameController.h
+++ b/src/game/GameController.h
@@ -16,15 +16,17 @@
//#include "cat/TPTScriptInterface.h"
#include "cat/LuaScriptInterface.h"
#include "options/OptionsController.h"
+#include "client/ClientListener.h"
#include "Menu.h"
using namespace std;
+class Notification;
class GameModel;
class GameView;
class CommandInterface;
class ConsoleController;
-class GameController
+class GameController: public ClientListener
{
private:
//Simulation * sim;
@@ -101,6 +103,10 @@ public:
void LoadClipboard();
void LoadStamp();
+
+ void RemoveNotification(Notification * notification);
+
+ virtual void NotifyUpdateAvailable(Client * sender);
};
#endif // GAMECONTROLLER_H