session boost_ptr refactoring

This commit is contained in:
doitux
2008-10-07 21:16:27 +00:00
parent 13cc3d5aeb
commit de6228bb7d
18 changed files with 138 additions and 144 deletions
@@ -37,7 +37,7 @@ Q_OBJECT
public:
startNetworkGameDialogImpl(startWindowImpl *parent = 0, ConfigFile *config = 0);
void setSession(Session *session);
void setSession(boost::shared_ptr<Session> session);
public slots:
@@ -82,7 +82,7 @@ private:
unsigned myPlayerId;
bool isAdmin;
ConfigFile *myConfig;
Session *mySession;
boost::shared_ptr<Session> mySession;
ChatTools *myChat;
};