]> Creatis software - crea.git/blobdiff - lib/creaDevManagerLib/modelCDMLib.cpp
Feature #1711
[crea.git] / lib / creaDevManagerLib / modelCDMLib.cpp
index 21f2167606772ec9f9487a710416ca17cd746bf6..24033518f493f43e633d253a7edf06e02eeb5ea7 100644 (file)
@@ -161,16 +161,17 @@ modelCDMLibrary* modelCDMLib::CreateLibrary(
 
 bool modelCDMLib::OpenCMakeListsFile(std::string*& result)
 {
-  //TODO: implement method
-  return true;
+  if (!CDMUtilities::openTextEditor(this->CMakeLists->GetPath()))
+    return true;
+  else
+    {
+      result = new std::string("Couldn't open CMakeLists file.");
+      return false;
+    }
 }
 
 const bool modelCDMLib::Refresh(std::string*& result)
 {
-  //TODO: implement method
-
-
-
   this->type = wxDIR_DIRS;
   this->name = "lib";
   this->level = level;