X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcreaDevManagerLib%2FmodelCDMFolder.h;h=a4ea6e721197be8cc7515830fee21a58226adb8f;hb=7a33a157d7372e4d507cd4a8ec0ae9a1f92d986e;hp=bcd21660a1ce6c11a16b9c18c36bcce32332867b;hpb=73787c5a26e6b218b9e6c716dafc7d16330441e7;p=crea.git diff --git a/lib/creaDevManagerLib/modelCDMFolder.h b/lib/creaDevManagerLib/modelCDMFolder.h index bcd2166..a4ea6e7 100644 --- a/lib/creaDevManagerLib/modelCDMFolder.h +++ b/lib/creaDevManagerLib/modelCDMFolder.h @@ -45,21 +45,26 @@ 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 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); bool HasCMakeLists(); + +protected: + modelCDMCMakeListsFile* CMakeLists; private: std::vector folders; - modelCDMCMakeListsFile* CMakeLists; + }; #endif /* MODELCDMFOLDER_H_ */