X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=lib%2FcreaDevManagerLib%2FmodelCDMLib.h;h=59d11964afa0b8550c995a421c14f7891090658f;hb=752294dd30e2ee94f38be513d441f4716509ce13;hp=2a7e16459b265953eef96c0c8c7b3cff77e76285;hpb=07de43de26544771a25b4edb25cbbf878bf32de3;p=crea.git diff --git a/lib/creaDevManagerLib/modelCDMLib.h b/lib/creaDevManagerLib/modelCDMLib.h index 2a7e164..59d1196 100644 --- a/lib/creaDevManagerLib/modelCDMLib.h +++ b/lib/creaDevManagerLib/modelCDMLib.h @@ -38,21 +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 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: