]> Creatis software - crea.git/blobdiff - lib/creaDevManagerLib/modelCDMLibrary.h
Feature #1711
[crea.git] / lib / creaDevManagerLib / modelCDMLibrary.h
index 9f19defbcf01f41b462ebf8816ecb2eaa1d00859..728b5c93970703cccb7b833a1e85924dc5943914 100644 (file)
@@ -44,21 +44,19 @@ class modelCDMLibrary : public modelCDMFolder
 {
 public:
   modelCDMLibrary();
-  modelCDMLibrary(const std::string& path, const int& level=2);
+  modelCDMLibrary(const std::string& path, const std::string& name, const int& level = 2);
   ~modelCDMLibrary();
 
   const std::string& GetNameLibrary() const;
+  bool SetNameLibrary(const std::string& fileName, std::string*& result);
+
+  modelCDMFolder* CreateFolder(const std::string& name, std::string*& result);
 
-  bool CreateFolder(
-      const std::string& name,
-      std::string*& result,
-      const std::string& path = "/"
-  );
   virtual const bool Refresh(std::string*& result);
 
 private:
   std::string nameLibrary;
-  std::vector<modelCDMLibrary*> libraries;
+  std::vector<modelCDMFolder*> folders;
 };
 
 #endif /* MODELCDMLIBRARY_H_ */