X-Git-Url: https://git.ralfj.de/multypo.git/blobdiff_plain/b02f9fdbd25d756d6ca73156d0b21a703e17d1de..e52cebeda021cf4e76330eabd3777ec6136720d3:/qt/multypo.h?ds=sidebyside diff --git a/qt/multypo.h b/qt/multypo.h index b9dbf3f..1a088bd 100644 --- a/qt/multypo.h +++ b/qt/multypo.h @@ -2,8 +2,10 @@ #define MULTIKBD_H #include +#include +#include -class QLabel; +#include "player.h" class MultypoWindow : public QWidget { @@ -17,11 +19,17 @@ public: private: void handleKeyPress(int device, QString string); + void nextWord(); + void resetPlayerText(); private: bool xiInited; int xiOpcode; + bool gameStarted; QLabel *mainLabel; + QFile words; + QMap players; + int typingPlayers; // how many are not ready yet }; #endif // MULTIKBD_H