Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/ParserAction/SaveXyzAction.def

    re4afb4 r1fd675  
    1111// i.e. there is an integer with variable name Z that can be found in
    1212// 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 ("store-xyz")
    16 #define paramdescriptions ("file name of xyz file")
    17 #undef paramdefaults
     13// "undefine" if no parameters are required
     14#define paramtypes (std::string)
     15#define paramtokens (ParserSaveXyzAction::NAME)
    1816#define paramreferences (filename)
    1917
     
    2321// some defines for all the names, you may use ACTION, STATE and PARAMS
    2422#define CATEGORY Parser
    25 #define MENUNAME "parser"
    26 #define MENUPOSITION 2
    2723#define ACTIONNAME SaveXyz
    28 #define TOKEN "store-xyz"
     24#define TOKEN "SaveXyz"
    2925
    30 
    31 // finally the information stored in the ActionTrait specialization
    32 #define DESCRIPTION "save world as xyz file"
    33 #undef SHORTFORM
Note: See TracChangeset for help on using the changeset viewer.