switch to using boost::filesystem
[mussa.git] / qui / mussagl.cpp
1 #include <boost/filesystem/operations.hpp>
2 using namespace boost::filesystem;
3
4 #include <QApplication>
5
6 #include "qui/MussaWindow.hpp"
7 #include "alg/parse_options.hpp"
8
9 int main(int argc, char **argv)
10 {
11   // let boost::filesystem store the path we were initially launched in
12   initial_path();
13
14   QApplication app(argc, argv);
15   Q_INIT_RESOURCE(icons);
16   Mussa *analysis = initialize_mussa(argc, argv);
17
18   if (analysis == 0) {
19     return 1;
20   }
21
22   MussaWindow win(analysis);
23   win.show();
24   app.exec();
25   return 0;
26 }