]> Creatis software - crea.git/blobdiff - lib/creaDevManagerLib/modelCDMIProjectTreeNode.h
Feature #1711
[crea.git] / lib / creaDevManagerLib / modelCDMIProjectTreeNode.h
index b74c6f11ccdbac6baaf6c19683f3ec73ff418df5..c07986df1efe5e156447aae8a3c173423dc643d4 100644 (file)
@@ -45,7 +45,7 @@ class modelCDMIProjectTreeNode
 public:
   virtual ~modelCDMIProjectTreeNode() {}
 
-  static bool CompareNodeItem(const modelCDMIProjectTreeNode& x, const modelCDMIProjectTreeNode& y);
+  static bool CompareNodeItem(const modelCDMIProjectTreeNode* x, const modelCDMIProjectTreeNode* y);
 
   const wxTreeItemId& GetId() const;
   const std::string& GetPath() const;
@@ -54,6 +54,7 @@ public:
   const int& GetLevel() const;
   const std::vector<modelCDMIProjectTreeNode*>& GetChildren() const;
   void SetId(const wxTreeItemId& id);
+  void SortChildren();
   void SetChildren(const std::vector<modelCDMIProjectTreeNode*>& children);
 
   virtual const bool Refresh(std::string*& result);