// Import statements import ifx.davex.app.manifest.* ? class DEMOAPP extends DEMOAPP_GUI { ?? // Note : Following APP properties are mandatory and important // Begin : APP property section ?? /** ??? * APP version ??? * Format: a string with three digit separated by a dot. ??? */ ??? def version = '1.0.0' ??? * APP categories declaration. ??? * It is list of strings. Subcategories are separated by slash. ??? * No limits on number of categories and subcategories depth. categoriesDescription ["Category/Sub Category"] /** ??? * Minimum DAVE version required for this APP. ??? * ??? * It is string with three digit separated by a dot. minDaveVersion = '4.0.0' ??? * Keywords used by search feature in APPs selection view ??? * It is a list of string. keywords ['My keyword'] ??? * softwareIDs is used to declare which devices are compatible with this APP. ??? * It is a map with key a string containing a pattern that shall match the SW id of ??? * the device and as value the minimal version of the APP. ??? // Any step of XMC4500F144 and XMC4400F144 // Any step of XMC4400F100 and XMC4400F64 // Any step,any variant and any packages of XMC1300 softwareIDs [ ??????? "XMC4.[4-5].00.F144.*":"1.0.0", ??????? "XMC4.4.00.(F100|F64).*" ??????? "XMC1.3.*.*.*":"1.0.0" ??? ??? * Singleton property: ??? * When it is true the APP can be instantiated only once. singleton = false ??? * initProvider property ??? * It shall be true to add a call to <AppName>_Init() initProvider ? ??? * Deprecated APP ??? * Set it to true to indicate that the APP shall be not used for new projects. deprecated ??? * Sharable property. ??? * It shall be true to allows multiple APPs to require the same instance of this APP. sharable ??? * APP function description. description = "Here the APP description. Please add appropriate APP description" // End?? : APP property section // Begin : User APP property section // End?? : User APP property section // APP Constructor public DEMOAPP(DaveEnv daveEnv) ??????? //TODO: Initialize manifest variables here } // File Generation def generateFiles(){ ??????? generate("demoapp.tmpl""demoapp.h"false) }
|