QTfrontend/hwform.h
changeset 15278 16f389fcd462
parent 15090 33eca3f0a9aa
equal deleted inserted replaced
15277:7b05af5912cb 15278:16f389fcd462
    50 class GameSchemeModel;
    50 class GameSchemeModel;
    51 class QSettings;
    51 class QSettings;
    52 class QSignalMapper;
    52 class QSignalMapper;
    53 
    53 
    54 extern bool frontendEffects;
    54 extern bool frontendEffects;
       
    55 extern bool demoIsPresent;
    55 extern QString playerHash;
    56 extern QString playerHash;
    56 
    57 
    57 class HWForm : public QMainWindow
    58 class HWForm : public QMainWindow
    58 {
    59 {
    59         Q_OBJECT
    60         Q_OBJECT
   119         void NetTeamAccepted(const QString& team);
   120         void NetTeamAccepted(const QString& team);
   120         void AddNetTeam(const HWTeam& team);
   121         void AddNetTeam(const HWTeam& team);
   121         void RemoveNetTeam(const HWTeam& team);
   122         void RemoveNetTeam(const HWTeam& team);
   122         void StartMPGame();
   123         void StartMPGame();
   123         void GameStateChanged(GameState gameState);
   124         void GameStateChanged(GameState gameState);
       
   125         void DemoPresenceChanged(bool hasDemo);
   124         void ForcedDisconnect(const QString & reason);
   126         void ForcedDisconnect(const QString & reason);
   125         void ShowFatalErrorMessage(const QString &);
   127         void ShowFatalErrorMessage(const QString &);
   126         void GetRecord(RecordType type, const QByteArray & record);
   128         void GetRecord(RecordType type, const QByteArray & record);
   127         void CreateNetGame();
   129         void CreateNetGame();
   128         void PlayOfficialServerDemo();
   130         void PlayOfficialServerDemo();