]> Creatis software - crea.git/blobdiff - lib/creaDevManagerLib/modelCDMLibrary.cpp
Feature #1711
[crea.git] / lib / creaDevManagerLib / modelCDMLibrary.cpp
index d3de6c00ce4f3263688150a5508a88831a5a9453..c9aeb1fa5138c7f7abe8a2440d1bc5504ca76a45 100644 (file)
 
 #include "modelCDMLibrary.h"
 
+#include "CDMUtilities.h"
+#include "creaWx.h"
+#include "wx/dir.h"
+
 modelCDMLibrary::modelCDMLibrary()
 {
 }
 
+modelCDMLibrary::modelCDMLibrary(const std::string& path, const int& level)
+{
+  this->name = "library";
+  this->path = path;
+  this->type = wxDIR_DIRS;
+  this->level = level;
+
+  //TODO: open CMakeList
+  //TODO: get libraryName
+}
+
 modelCDMLibrary::~modelCDMLibrary()
 {
 }
 
-const std::string& modelCDMLibrary::GetName() const
+const std::string& modelCDMLibrary::GetNameLibrary() const
 {
-  return this->name;
+  return this->nameLibrary;
 }
 
 bool modelCDMLibrary::CreateFolder(