X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=lib%2FcreaDevManagerLib%2FmodelCDMBlackBox.cpp;fp=lib%2FcreaDevManagerLib%2FmodelCDMBlackBox.cpp;h=5ea4a26cbfae621fd360a674a0044f096b5b17f5;hb=9db3dcfa7151c22fb19fe0202ec03b4e8ac3f4b4;hp=d326e00148754f2f4ec3560b6dcc0125bb8d8341;hpb=ae979655a8f5e455fb8381c2cbf081ac0ec18132;p=crea.git diff --git a/lib/creaDevManagerLib/modelCDMBlackBox.cpp b/lib/creaDevManagerLib/modelCDMBlackBox.cpp index d326e00..5ea4a26 100644 --- a/lib/creaDevManagerLib/modelCDMBlackBox.cpp +++ b/lib/creaDevManagerLib/modelCDMBlackBox.cpp @@ -43,7 +43,7 @@ modelCDMBlackBox::modelCDMBlackBox() modelCDMBlackBox::modelCDMBlackBox(const std::string& hName, const std::string& path, const int& level) { - this->name = hName.substr(2, hName.size()-4); + this->name = this->nameBlackBox = hName.substr(2, hName.size()-4); this->path = path; this->level = level; this->type = wxDIR_DIRS; @@ -78,6 +78,11 @@ const std::string& modelCDMBlackBox::GetDescription() const return this->description; } +const std::string& modelCDMBlackBox::GetVersion() const +{ + return this->version; +} + bool modelCDMBlackBox::SetAuthors(const std::string& authors, std::string*& result) { //TODO: implement method @@ -111,6 +116,12 @@ bool modelCDMBlackBox::SetDescription( return true; } +bool modelCDMBlackBox::SetVersion(const std::string& version, std::string*& result) +{ + //TODO: implement method + return true; +} + bool modelCDMBlackBox::OpenCxx(std::string*& result) { //TODO: implement method