Command Void Macro
define_void_command
Description: |
Macro |
Identifier |
Displayed Name |
Function Identifier |
Group* |
|
Example: |
define_void_command( |
cmdRestartSystem, |
"Restart System", |
RestartSystem, |
0 |
); |
*optional argument. If Group is omitted the Group-Number will default to 0.
The unique message id is derived from the row number, in source file where the macro is used.
Copy to your project:
define_void_command(Identifier, "DisplayedName", CommandFunction, optional_GroupNr);
define_void_command_id
Description: |
Macro |
Identifier |
Displayed Name |
Function Identifier |
Id |
Sub Id |
Group* |
|
Example: |
define_void_command_id( |
cmdRestartSystem, |
"Restart System", |
RestartSystem, |
23, |
12, |
0 |
); |
*optional argument. If Group is omitted the Group-Number will default to 0.
Copy to your project:
define_void_command_id(Identifier, "DisplayedName", CommandFunction, Id, SubId, optional_GroupNr);