Back to rev. 347

This commit is contained in:
lotodore
2007-04-20 23:14:08 +00:00
parent 57927b7d73
commit a8cce94d3b
32 changed files with 315 additions and 333 deletions
+3 -8
View File
@@ -52,7 +52,6 @@
using namespace std;
class GuiWrapper;
class QtToolsWrapper;
int main( int argc, char **argv )
{
@@ -68,13 +67,9 @@ int main( int argc, char **argv )
Q_INIT_RESOURCE(resources);
///////////////////////////////////////////////////
Session *theFirst = new Session();
GuiInterface *myGuiInterface = new GuiWrapper(theFirst);
theFirst->setGuiInterface(myGuiInterface);
// myGuiInterface->setSession(&theFirst);
GuiInterface *myGuiInterface = new GuiWrapper();
Session theFirst(myGuiInterface);
myGuiInterface->setSession(&theFirst);
int retVal = a.exec();