Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

main.cxx

Go to the documentation of this file.
00001 
00012 // for dll interface warning
00013 #ifdef _MSC_VER
00014 #include "msdevstudio/MSconfig.h"
00015 #else
00016 #include "config.h"
00017 #endif
00018 
00019 #include "qt/QtApp.h"
00020 
00021 #include <iostream>
00022 #include <string>
00023 
00024 using std::cout;
00025 using std::endl;
00026 
00031 int main ( int argc, char** argv)
00032 {
00033   if ( argc > 1 ) {
00034     std::string arg1 ( argv[1] );
00035     if ( arg1 == "--version" ) {
00036       std::cout << "HippoDraw version " << VERSION
00037            << std::endl;
00038       return 0;
00039     }
00040   }
00041 
00042   QtApp app ( argc, argv );
00043   app.setFirstWindow();
00044 
00045   return app.exec();
00046 }

Generated for HippoDraw-1.14.8.5 by doxygen 1.4.3