#include #include "ProjectionModel.h" #include "RSync.h" #include "GUIControler.h" #include #include using namespace projection; #if defined(UNIX) #define stricmp strcasecmp #endif // UNIX int main(int argc, char** argv) { glutInit (&argc, argv); QApplication app(argc,argv); //app.setStyle("windows"); //app.setStyle("plastique"); ProjectionModel model; bool bServer = true; QString address = model.getRSync()->getHostName(); int portNo = DEFAULT_PORT_NO; QString fileName; for (int i=1; iloadFile(fileName); } else model.initClient(address, portNo); return app.exec(); }