]> Creatis software - crea.git/blobdiff - lib/creaDevManagerLib/modelCDMLib.h
Feature #1711
[crea.git] / lib / creaDevManagerLib / modelCDMLib.h
index 520822f09ab47d5b842bc80c923a98d1aa613586..59d11964afa0b8550c995a421c14f7891090658f 100644 (file)
 #include<iostream>
 #include<vector>
 
-#include "modelCDMIProjectTreeNode.h"
+#include "modelCDMFolder.h"
 #include "modelCDMLibrary.h"
 
-class modelCDMLib : public modelCDMIProjectTreeNode
+class modelCDMLib : public modelCDMFolder
 {
 public:
   modelCDMLib();
+  modelCDMLib(const std::string& path, const std::string& name = "lib", const int& level = 1);
   ~modelCDMLib();
 
-  bool CreateLibrary(
+  const std::vector<modelCDMLibrary*>& GetLibraries() const;
+
+  modelCDMLibrary* CreateLibrary(
       const std::string& name,
-      std::string*& result,
-      const std::string& path = "/"
+      std::string*& result
   );
-  bool OpenCMakeListsFile(std::string*& result);
-  bool Refresh(std::string*& result);
+
+  virtual const bool Refresh(std::string*& result);
 
 private:
   std::vector<modelCDMLibrary*> libraries;