]> Creatis software - crea.git/blobdiff - lib/creaDevManagerLib/modelCDMFolder.h
Feature #1711
[crea.git] / lib / creaDevManagerLib / modelCDMFolder.h
index f8cd26c34c3acf5b1f83cb089d3067eace0230c2..a4ea6e721197be8cc7515830fee21a58226adb8f 100644 (file)
@@ -45,13 +45,15 @@ class modelCDMFolder : public modelCDMIProjectTreeNode
 {
 public:
   modelCDMFolder();
-  modelCDMFolder(const std::string& path, const int& level = 3);
+  modelCDMFolder(const std::string& path, const std::string& name, const int& level = 3);
   ~modelCDMFolder();
 
-  bool CreateFolder(
+  modelCDMCMakeListsFile* GetCMakeLists() const;
+  std::vector<modelCDMFolder*> GetFolders() const;
+
+  modelCDMFolder* CreateFolder(
       const std::string& name,
-      std::string*& result,
-      const std::string& path = "/"
+      std::string*& result
   );
   bool OpenCMakeListsFile(std::string* & result);
   virtual const bool Refresh(std::string*& result);