preparation gamelobby slots
This commit is contained in:
1 parent
0a255bfff4
commit
a84f164b8a
6 files changed
+78
-5
No files matched your search
@@ -18,6 +18,9 @@
|
||||
#include <QtCore>
|
||||
|
||||
#include "createinternetgamedialogimpl.h"
|
||||
#include "sdlplayer.h"
|
||||
#include "mainwindowimpl.h"
|
||||
|
||||
|
||||
class Session;
|
||||
class ConfigFile;
|
||||
@@ -35,7 +38,8 @@ public:
|
||||
void exec();
|
||||
|
||||
void setSession(Session *session);
|
||||
|
||||
void setMyW ( mainWindowImpl* theValue ) { myW = theValue; }
|
||||
|
||||
public slots:
|
||||
|
||||
void createGame();
|
||||
@@ -50,15 +54,22 @@ public slots:
|
||||
QString getCurrentGameName() const { return currentGameName; }
|
||||
|
||||
void clearGames();
|
||||
void checkPlayerQuantity();
|
||||
|
||||
void joinedNetworkGame(QString, int);
|
||||
void addConnectedPlayer(QString, int);
|
||||
void updatePlayer(QString, QString);
|
||||
void removePlayer(QString);
|
||||
|
||||
private:
|
||||
|
||||
|
||||
mainWindowImpl* myW;
|
||||
ConfigFile *myConfig;
|
||||
Session *mySession;
|
||||
|
||||
createInternetGameDialogImpl *myCreateInternetGameDialog;
|
||||
|
||||
QString currentGameName;
|
||||
bool isAdmin;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user