00001
00012 #ifdef HAVE_CONFIG_H
00013
00014 #include "config.h"
00015 #else
00016 #include "msdevstudio/MSconfig.h"
00017 #endif
00018
00019
00020 #ifdef _MSC_VER
00021 #include "msdevstudio/MSconfig.h"
00022 #endif
00023
00024 #include "qt/QtApp.h"
00025
00026 #include <iostream>
00027
00028 using std::cout;
00029 using std::endl;
00030
00035 using hippodraw::QtApp;
00036
00037 int main ( int argc, char** argv)
00038 {
00039 if ( argc > 1 ) {
00040 std::string arg1 ( argv[1] );
00041 if ( arg1 == "--version" ) {
00042 std::cout << "HippoDraw version " << VERSION
00043 << std::endl;
00044 return 0;
00045 }
00046 }
00047
00048 QtApp app ( argc, argv );
00049 app.setFirstWindow();
00050 return app.exec();
00051 }