main.cxx
Go to the documentation of this file.
1 
12 #ifdef HAVE_CONFIG_H
13 // for VERSION
14 #include "config.h"
15 #else
16 #include "msdevstudio/MSconfig.h"
17 #endif
18 
19 // for dll interface warning
20 #ifdef _MSC_VER
21 #include "msdevstudio/MSconfig.h"
22 #endif
23 
24 #include "qt/QtApp.h"
25 
26 #include <iostream>
27 
28 using std::cout;
29 using std::endl;
30 
35 using hippodraw::QtApp;
36 
37 int main ( int argc, char** argv)
38 {
39  if ( argc > 1 ) {
40  std::string arg1 ( argv[1] );
41  if ( arg1 == "--version" ) {
42  std::cout << "HippoDraw version " << VERSION
43  << std::endl;
44  return 0;
45  }
46  }
47 
48  QtApp app ( argc, argv );
49  app.setFirstWindow();
50  return app.exec();
51 }

Generated for HippoDraw Class Library by doxygen