diff -r fb4b0c6dfdbd -r 53ffc8853008 QTfrontend/game.h --- 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: