set session for chat
This commit is contained in:
1 parent
118f053216
commit
3e2501c28b
4 files changed
+9
-5
No files matched your search
@@ -124,6 +124,11 @@ gameLobbyDialogImpl::~gameLobbyDialogImpl()
|
||||
|
||||
}
|
||||
|
||||
void gameLobbyDialogImpl::setSession(boost::shared_ptr<Session> session) {
|
||||
mySession = session;
|
||||
myChat->setSession(mySession);
|
||||
}
|
||||
|
||||
void gameLobbyDialogImpl::createGame()
|
||||
{
|
||||
assert(mySession);
|
||||
|
||||
@@ -45,7 +45,7 @@ public:
|
||||
|
||||
ChatTools *getMyChat() { return myChat; }
|
||||
|
||||
void setSession(boost::shared_ptr<Session> session) { mySession = session; }
|
||||
void setSession(boost::shared_ptr<Session> session);
|
||||
boost::shared_ptr<Session> getSession() { assert(mySession.get()); return mySession; }
|
||||
|
||||
void setMyW ( gameTableImpl* theValue ) { myW = theValue; }
|
||||
|
||||
Reference in new issue
Block a user