Update mussa to build on ubuntu 10.04 with qt 4.6.2 +boost 1.40.0.1
[mussa.git] / alg / parse_options.hpp
1 #ifndef _PARSE_OPTIONS_H_
2 #define _PARSE_OPTIONS_H_
3
4 #include <string>
5 #include <alg/mussa.hpp>
6
7 //! collect information about runtime options
8 struct MussaOptions 
9 {
10   //! set defaults for our options
11   MussaOptions();
12
13   //! pointer to our analysis, if its null, feel free to die
14   MussaRef analysis;
15   //! Location of documentation
16   std::string doc_dir;
17   //! should we use the gui?
18   bool useGUI;
19   //! launch as python
20   bool runAsPythonInterpeter;
21 };
22
23 //! initialize a mussa analysis from command line arguments
24 void initialize_mussa(MussaOptions& opts, int argc, char** argv);
25 #endif
26