]> Creatis software - crea.git/blobdiff - lib/creaDevManagerLib/modelCDMPackage.h
Feature #1711
[crea.git] / lib / creaDevManagerLib / modelCDMPackage.h
index 3745fb2154c41227c5cace3c99502350c3a00afc..471dbb35f6836e5d0f9e06a276d47375b8aeb813 100644 (file)
@@ -37,6 +37,7 @@
 
 #include<iostream>
 #include<vector>
+#include<map>
 
 #include"modelCDMFolder.h"
 #include"modelCDMPackageSrc.h"
@@ -45,7 +46,7 @@ class modelCDMPackage : public modelCDMFolder
 {
 public:
   modelCDMPackage();
-  modelCDMPackage(const std::string& path, const std::string& name, const int& level = 1);
+  modelCDMPackage(modelCDMIProjectTreeNode* parent, const std::string& path, const std::string& name, const int& level = 1);
   ~modelCDMPackage();
 
   const std::string& GetNamePackage() const;
@@ -62,16 +63,19 @@ public:
 
 
   modelCDMBlackBox* CreateBlackBox(
+      std::string*& result,
       const std::string& name,
       const std::string& type = "std",
       const std::string& format = "C++",
+      const std::string& categories = "empty",
       const std::string& authors = "unknown",
       const std::string& authorsEmail = "",
-      const std::string& categories = "empty",
       const std::string& description = "no description"
   );
   virtual const bool Refresh(std::string*& result);
 
+  void CheckStructure(std::map<std::string, bool>& properties);
+
 private:
   std::string namePackage;
   std::string authors;