startwindow refactoring. BROKEN

This commit is contained in:
doitux
2008-09-02 22:04:18 +00:00
parent a9133233fa
commit 97f58c467f
5 changed files with 27 additions and 19 deletions
+2 -1
View File
@@ -25,6 +25,7 @@
#include "game_defs.h"
class GuiInterface;
class GuiWrapper;
class Session;
class Game;
@@ -46,7 +47,7 @@ class timeoutMsgBoxImpl;
class startWindowImpl: public QMainWindow, public Ui::startWindow {
Q_OBJECT
public:
startWindowImpl(gameTableImpl *w = 0, ConfigFile *c =0);
startWindowImpl(ConfigFile *c =0);
void setSession(boost::shared_ptr<Session> session) { mySession = session; }
Session &getSession() { assert(mySession.get()); return *mySession; }