/**
* Creates a new application in the system and creates an application node. This node is stored in the applications attribute and returned.
* @param name Name of the new application.
+ * @param type 0=console application, 1=GUI Application (wxWidgets).
* @param result Result message of the operation.
* @return Reference to the created application or NULL.
*/
modelCDMApplication* CreateApplication(
const std::string& name,
+ const int& type,
std::string*& result
);
/**