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