#include <menusys.h>
Public Member Functions | |
| bool | operator== (const MSYS_DispatchEntry &rhs) const |
Data Fields | |
| const TCHAR * | cmd |
| MSYS_Handler | fn |
| bool | unquote |
| const TCHAR * | oneHelp |
| const TCHAR * | longHelp |
All commands available via the MSYS menu are defined with in a table of these entries (see MSYS_Commands).
| cmd | Command text typed by the user to start the command. For example, "dir", "list". This must not be NULL. | |
| fn | Function implementing the command. This must not be NULL. | |
| unquote | Should quoted characters in the parameter list be unquoted prior to being passed to the function. Quoted entries like \n \t \r will be converted to the actual characters if this is set to true. If set to false, the actual text will be returned. Double quotes are always interpreted as delimiters of parameters and need to be quoted \" in order to be passed to the command function. | |
| oneHelp | One line summary help that will be displayed by the general "help" request. This should not exceed about 60 characters. | |
| longHelp | Extended help text that will be displayed by "help \<command\>" or "\<command\> -?". Help text will be automatically wrapped at 80 characters. |
Definition at line 236 of file menusys.h.
| bool MSYS_DispatchEntry::operator== | ( | const MSYS_DispatchEntry & | rhs | ) | const |
| const TCHAR* MSYS_DispatchEntry::cmd |
Definition at line 237 of file menusys.h.
Referenced by Dispatch(), DoHelp(), DoSetOpt(), InitInternal(), MSYS_ShowHelp(), and operator==().
| const TCHAR* MSYS_DispatchEntry::oneHelp |
| const TCHAR* MSYS_DispatchEntry::longHelp |
1.5.2