]> Creatis software - crea.git/blobdiff - lib/creaDevManagerLib/modelCDMProject.h
Feature #1711
[crea.git] / lib / creaDevManagerLib / modelCDMProject.h
index 60a5ad59dc98c7eb13276b41b8d4d1f7ae7b5b98..5df1550a28c11c0fafe6b146472bdba5342a8336 100644 (file)
@@ -176,12 +176,14 @@ public:
   /**
    * Creates an application and sets it as a children of the appli folder in the project. This method creates the library in the hard drive and also in the model.
    * @param name Application name.
+   * @param type Application type. 0=console application, 1=GUI application (wxWidgets).
    * @param result Result of the operation.
    * @param path Path of the application if not in the application folder. This parameter is not used (for now).
    * @return The result of the creation. If everything goes well it returns true, else it returns false.
    */
   modelCDMIProjectTreeNode* CreateApplication(
       const std::string& name,
+      const int& type,
       std::string*& result,
       const std::string& path = "/appli"
   );
@@ -239,6 +241,7 @@ public:
   /**
    * Launches in console the bbPlugPackage command to connect the project to the .bbtk folder in the hard drive.
    * @param result Result message for connecting the project.
+   * @param folder Folder to make connection with. It must contain the bbtkPackage file
    * @return if the command cannot be executed it return false.
    */
   bool Connect(std::string*& result, const std::string& folder);