X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcreaDevManagerLib%2FmodelCDMFolder.h;h=a4ea6e721197be8cc7515830fee21a58226adb8f;hb=311bdcc514f85386f3bbbef9ff6a88bf69fd930f;hp=383f89d5deb5be8e421b86f568fe241e1ca9449c;hpb=d8222afd6508f39bd37426842667de2e431cca4a;p=crea.git diff --git a/lib/creaDevManagerLib/modelCDMFolder.h b/lib/creaDevManagerLib/modelCDMFolder.h index 383f89d..a4ea6e7 100644 --- a/lib/creaDevManagerLib/modelCDMFolder.h +++ b/lib/creaDevManagerLib/modelCDMFolder.h @@ -45,16 +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(); modelCDMCMakeListsFile* GetCMakeLists() const; std::vector GetFolders() const; - bool CreateFolder( + 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);