X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcreaDevManagerLib%2FmodelCDMLib.h;h=59d11964afa0b8550c995a421c14f7891090658f;hb=752294dd30e2ee94f38be513d441f4716509ce13;hp=f93752e130eca87fe952ecf808e8891e04cb4199;hpb=62dfbfc86db5ed98a2272d0b6620af1711791c27;p=crea.git diff --git a/lib/creaDevManagerLib/modelCDMLib.h b/lib/creaDevManagerLib/modelCDMLib.h index f93752e..59d1196 100644 --- a/lib/creaDevManagerLib/modelCDMLib.h +++ b/lib/creaDevManagerLib/modelCDMLib.h @@ -38,22 +38,23 @@ #include #include -#include "modelCDMIProjectTreeNode.h" +#include "modelCDMFolder.h" #include "modelCDMLibrary.h" -class modelCDMLib : public modelCDMIProjectTreeNode +class modelCDMLib : public modelCDMFolder { public: modelCDMLib(); - modelCDMLib(const std::string& path, const int& level = 1); + modelCDMLib(const std::string& path, const std::string& name = "lib", const int& level = 1); ~modelCDMLib(); - bool CreateLibrary( + const std::vector& GetLibraries() const; + + modelCDMLibrary* CreateLibrary( 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); private: