create an options structure to indicate if we need a gui
[mussa.git] / alg / parse_options.hpp
1 #ifndef _PARSE_OPTIONS_H_
2 #define _PARSE_OPTIONS_H_
3
4 class Mussa;
5
6 //! collect information about runtime options
7 struct MussaOptions 
8 {
9   //! set defaults for our options
10   MussaOptions();
11
12   //! pointer to our analysis, if its null, feel free to die
13   Mussa *analysis;
14   //! should we use the gui?
15   bool useGUI;
16 };
17
18 //! initialize a mussa analysis from command line arguments
19 void initialize_mussa(MussaOptions& opts, int argc, char** argv);
20 #endif
21