QTfrontend/game.h
changeset 306 7b61834edcf6
parent 253 e7b3687fcb2c
child 324 f4c109c82a0c
--- a/QTfrontend/game.h	Tue Dec 19 17:20:14 2006 +0000
+++ b/QTfrontend/game.h	Thu Jan 04 16:27:45 2007 +0000
@@ -31,6 +31,13 @@
 class GameUIConfig;
 class GameCFGWidget;
 
+enum GameState {
+	gsNotStarted = 0,
+	gsStarted  = 1,
+	gsFinished = 2
+};
+
+
 class HWGame : public TCPBase
 {
 	Q_OBJECT
@@ -49,6 +56,8 @@
 
 signals:
 	void SendNet(const QByteArray & msg);
+	void GameStateChanged(GameState gameState);
+	void GameStats(char type, const QString & info);
 
 public slots:
 	void FromNet(const QByteArray & msg);