X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcreaDevManagerLib%2FmodelCDMPackage.h;h=471dbb35f6836e5d0f9e06a276d47375b8aeb813;hb=2fb5dd9262993efaf56bfc731f4297fdb96bf63e;hp=3745fb2154c41227c5cace3c99502350c3a00afc;hpb=cfa883d25e73975f73c20fefc1ec2c947d827938;p=crea.git diff --git a/lib/creaDevManagerLib/modelCDMPackage.h b/lib/creaDevManagerLib/modelCDMPackage.h index 3745fb2..471dbb3 100644 --- a/lib/creaDevManagerLib/modelCDMPackage.h +++ b/lib/creaDevManagerLib/modelCDMPackage.h @@ -37,6 +37,7 @@ #include #include +#include #include"modelCDMFolder.h" #include"modelCDMPackageSrc.h" @@ -45,7 +46,7 @@ class modelCDMPackage : public modelCDMFolder { public: modelCDMPackage(); - modelCDMPackage(const std::string& path, const std::string& name, const int& level = 1); + modelCDMPackage(modelCDMIProjectTreeNode* parent, const std::string& path, const std::string& name, const int& level = 1); ~modelCDMPackage(); const std::string& GetNamePackage() const; @@ -62,16 +63,19 @@ public: modelCDMBlackBox* CreateBlackBox( + std::string*& result, const std::string& name, const std::string& type = "std", const std::string& format = "C++", + const std::string& categories = "empty", const std::string& authors = "unknown", const std::string& authorsEmail = "", - const std::string& categories = "empty", const std::string& description = "no description" ); virtual const bool Refresh(std::string*& result); + void CheckStructure(std::map& properties); + private: std::string namePackage; std::string authors;