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
@@ -25,7 +25,7 @@
#include <net/socket_msg.h>
startNetworkGameDialogImpl::startNetworkGameDialogImpl(startWindowImpl *parent, ConfigFile *config)
: QDialog(parent), myW(NULL), myStartWindow(parent), keyUpDownChatCounter(0), myPlayerId(0), isAdmin(false), myConfig(config), mySession(NULL), myChat(NULL)
: QDialog(parent), myW(NULL), myStartWindow(parent), keyUpDownChatCounter(0), myPlayerId(0), isAdmin(false), myConfig(config), myChat(NULL)
{
#ifdef __APPLE__
setWindowModality(Qt::ApplicationModal);
@@ -197,7 +197,7 @@ void startNetworkGameDialogImpl::clearDialog()
myPlayerId = 0;
}
void startNetworkGameDialogImpl::setSession(Session *session)
void startNetworkGameDialogImpl::setSession(boost::shared_ptr<Session> session)
{
mySession = session;
myChat->setSession(mySession);