]> Creatis software - crea.git/blobdiff - lib/creaDevManagerLib/modelCDMBlackBox.cpp
Feature #1711
[crea.git] / lib / creaDevManagerLib / modelCDMBlackBox.cpp
index db8b11cae0ec81145b5a42b023e3b3d0c3be818e..d326e00148754f2f4ec3560b6dcc0125bb8d8341 100644 (file)
 
 #include "modelCDMBlackBox.h"
 
+#include<creaWx.h>
+#include"wx/dir.h"
+
 modelCDMBlackBox::modelCDMBlackBox()
 {
 }
 
+modelCDMBlackBox::modelCDMBlackBox(const std::string& hName, const std::string& path, const int& level)
+{
+  this->name = hName.substr(2, hName.size()-4);
+  this->path = path;
+  this->level = level;
+  this->type = wxDIR_DIRS;
+}
+
 modelCDMBlackBox::~modelCDMBlackBox()
 {
 }