]> Creatis software - crea.git/blobdiff - lib/creaDevManagerLib/modelCDMBlackBox.cpp
Feature #1711
[crea.git] / lib / creaDevManagerLib / modelCDMBlackBox.cpp
index d326e00148754f2f4ec3560b6dcc0125bb8d8341..5ea4a26cbfae621fd360a674a0044f096b5b17f5 100644 (file)
@@ -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