]> Creatis software - crea.git/blobdiff - lib/creaDevManagerLib/controlCDMMain.h
Feature #1711
[crea.git] / lib / creaDevManagerLib / controlCDMMain.h
diff --git a/lib/creaDevManagerLib/controlCDMMain.h b/lib/creaDevManagerLib/controlCDMMain.h
new file mode 100644 (file)
index 0000000..4bd9fab
--- /dev/null
@@ -0,0 +1,26 @@
+/*
+ * controlCDMMain.h
+ *
+ *  Created on: 13/11/2012
+ *      Author: daniel
+ */
+
+#ifndef CONTROLCDMMAIN_H_
+#define CONTROLCDMMAIN_H_
+
+#include "modelCDMProject.h"
+
+class controlCDMMain
+{
+public:
+  controlCDMMain();
+  ~controlCDMMain();
+  const modelCDMProject& GetActiveProject();
+  bool UpdateActiveProject();
+  const int OpenProject(const std::string& path);
+  bool CloseProject(const std::string& projectName);
+private:
+  modelCDMProject* main;
+};
+
+#endif /* CONTROLCDMMAIN_H_ */