X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcreaDevManagerLib%2FmodelCDMLibrary.h;h=728b5c93970703cccb7b833a1e85924dc5943914;hb=752294dd30e2ee94f38be513d441f4716509ce13;hp=4c7fdad33c8ac0de95fbe89b0de83497b7b7bb97;hpb=07de43de26544771a25b4edb25cbbf878bf32de3;p=crea.git diff --git a/lib/creaDevManagerLib/modelCDMLibrary.h b/lib/creaDevManagerLib/modelCDMLibrary.h index 4c7fdad..728b5c9 100644 --- a/lib/creaDevManagerLib/modelCDMLibrary.h +++ b/lib/creaDevManagerLib/modelCDMLibrary.h @@ -38,27 +38,25 @@ #include #include -#include "modelCDMIProjectTreeNode.h" +#include "modelCDMFolder.h" -class modelCDMLibrary : public modelCDMIProjectTreeNode +class modelCDMLibrary : public modelCDMFolder { public: modelCDMLibrary(); + modelCDMLibrary(const std::string& path, const std::string& name, const int& level = 2); ~modelCDMLibrary(); - const std::string& GetName() const; + 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 = "/" - ); - bool OpenCMakeListsFile(std::string*& result); virtual const bool Refresh(std::string*& result); private: - std::string name; - std::vector libraries; + std::string nameLibrary; + std::vector folders; }; #endif /* MODELCDMLIBRARY_H_ */