Re-factored the basic idea of the application: Engine is the main class that ownsWind...
[qtmeetings] / src / main.cpp
index 9ed1c36..feaca6e 100644 (file)
@@ -2,7 +2,7 @@
 #include <fstream> \r
 #include <QApplication>\r
 #include <QTime>\r
-#include "WindowManager.h"\r
+#include "Engine.h"\r
 \r
 using namespace std;\r
 \r
@@ -31,11 +31,11 @@ void DebugOutputHandler( QtMsgType type, const char *msg ) {
 int main( int argc, char *argv[] )\r
 {\r
        #ifndef QT_NO_DEBUG_OUTPUT\r
-       logfile.open( "/tmp/qtmeetings.log", ios::app );\r
+       logfile.open( "/usr/var/qtmeetings.log", ios::app );\r
        qInstallMsgHandler( DebugOutputHandler );\r
        #endif\r
        \r
        QApplication app( argc, argv );\r
-       WindowManager *windowManager = new WindowManager;\r
+       Engine *engine = new Engine;\r
        return app.exec();\r
 }\r