Trying to bring life to the server.

This commit is contained in:
lotodore
2007-05-14 12:40:42 +00:00
parent 7540ea17bd
commit 2d894c6a2c
16 changed files with 279 additions and 102 deletions
+2 -2
View File
@@ -89,9 +89,9 @@ int main( int argc, char **argv )
a.installTranslator(&translator);
///////////////////////////////////////////////////
GuiInterface *myGuiInterface = new GuiWrapper(myConfig);
boost::shared_ptr<GuiInterface> myGuiInterface(new GuiWrapper(myConfig));
{
boost::shared_ptr<Session> session(new Session(myGuiInterface, myConfig));
boost::shared_ptr<Session> session(new Session(myGuiInterface.get(), myConfig));
myGuiInterface->setSession(session);
}