X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcreaDevManagerLib%2FmodelCDMBlackBox.cpp;h=5ea4a26cbfae621fd360a674a0044f096b5b17f5;hb=9db3dcfa7151c22fb19fe0202ec03b4e8ac3f4b4;hp=db8b11cae0ec81145b5a42b023e3b3d0c3be818e;hpb=58e994c7ddc088821aa0f583354216c6376405c8;p=crea.git diff --git a/lib/creaDevManagerLib/modelCDMBlackBox.cpp b/lib/creaDevManagerLib/modelCDMBlackBox.cpp index db8b11c..5ea4a26 100644 --- a/lib/creaDevManagerLib/modelCDMBlackBox.cpp +++ b/lib/creaDevManagerLib/modelCDMBlackBox.cpp @@ -34,10 +34,21 @@ #include "modelCDMBlackBox.h" +#include +#include"wx/dir.h" + modelCDMBlackBox::modelCDMBlackBox() { } +modelCDMBlackBox::modelCDMBlackBox(const std::string& hName, const std::string& path, const int& level) +{ + this->name = this->nameBlackBox = hName.substr(2, hName.size()-4); + this->path = path; + this->level = level; + this->type = wxDIR_DIRS; +} + modelCDMBlackBox::~modelCDMBlackBox() { } @@ -67,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 @@ -100,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