Update mussa to build on ubuntu 10.04 with qt 4.6.2 +boost 1.40.0.1
[mussa.git] / alg / parse_options.hpp
index 1dd3291d0181d1a13369e8c3846ed185030d5f26..25405a66c86978a76721aaf93c3ce14f3bbf92eb 100644 (file)
@@ -1,9 +1,26 @@
 #ifndef _PARSE_OPTIONS_H_
 #define _PARSE_OPTIONS_H_
 
-class Mussa;
+#include <string>
+#include <alg/mussa.hpp>
+
+//! collect information about runtime options
+struct MussaOptions 
+{
+  //! set defaults for our options
+  MussaOptions();
+
+  //! pointer to our analysis, if its null, feel free to die
+  MussaRef analysis;
+  //! Location of documentation
+  std::string doc_dir;
+  //! should we use the gui?
+  bool useGUI;
+  //! launch as python
+  bool runAsPythonInterpeter;
+};
 
 //! initialize a mussa analysis from command line arguments
-Mussa *initialize_mussa(int argc, char** argv);
+void initialize_mussa(MussaOptions& opts, int argc, char** argv);
 #endif