QTfrontend/game.h
changeset 7180 53ffc8853008
parent 6952 7f70f37bbf08
child 7628 bc7b1d228a2c
--- a/QTfrontend/game.h	Mon Jun 04 08:11:47 2012 -0400
+++ b/QTfrontend/game.h	Mon Jun 04 21:32:30 2012 +0400
@@ -40,6 +40,13 @@
     gsHalted = 6
 };
 
+enum RecordType
+{
+    rtDemo,
+    rtSave,
+    rtNeither,
+};
+
 bool checkForDir(const QString & dir);
 
 class HWGame : public TCPBase
@@ -70,7 +77,7 @@
         void SendTeamMessage(const QString & msg);
         void GameStateChanged(GameState gameState);
         void GameStats(char type, const QString & info);
-        void HaveRecord(bool isDemo, const QByteArray & record);
+        void HaveRecord(RecordType type, const QByteArray & record);
         void ErrorMessage(const QString &);
 
     public slots: