- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/CommandAction/ElementDbAction.def
re4afb4 r1fd675 11 11 // i.e. there is an integer with variable name Z that can be found in 12 12 // ValueStorage by the token "Z" -> first column: int, Z, "Z" 13 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value 14 #define paramtypes (boost::filesystem::path) 15 #define paramtokens ("element-db") 16 #define paramdescriptions ("path where the element databases can be found") 17 #undef paramdefaults 13 // "undefine" if no parameters are required 14 #define paramtypes (std::string) 15 #define paramtokens (CommandElementDbAction::NAME) 18 16 #define paramreferences (databasepath) 19 17 … … 23 21 // some defines for all the names, you may use ACTION, STATE and PARAMS 24 22 #define CATEGORY Command 25 #define MENUNAME "command"26 #define MENUPOSITION 227 23 #define ACTIONNAME ElementDb 28 24 #define TOKEN "element-db" 29 25 30 31 // finally the information stored in the ActionTrait specialization32 #define DESCRIPTION "specify the path to a different element databases"33 #define SHORTFORM "e"
Note:
See TracChangeset
for help on using the changeset viewer.