there are players now :-) every game is better with players
[multypo.git] / qt / multypo.h
index 400d4c995eb848d19bbfeebf13d75d4bbbad6481..de0898fd530fa335bbe2804359671cc247d21535 100644 (file)
@@ -2,6 +2,9 @@
 #define MULTIKBD_H
 
 #include <QWidget>
+#include <QMap>
+
+#include "player.h"
 
 class MultypoWindow : public QWidget
 {
@@ -13,15 +16,15 @@ public:
 
        bool handleX11Event(XEvent *event);
 
-protected:
-       virtual void showEvent (QShowEvent *);
-
 private:
        void handleKeyPress(int device, QString string);
 
 private:
        bool xiInited;
        int xiOpcode;
+       QLabel *mainLabel;
+
+       QMap<int, Player*> players;
 };
 
 #endif // MULTIKBD_H