OptionData Struct Reference

Data of an option. More...

#include <getoptdata.h>

Data Fields

byte id
 Unique identification of this option data, often the same as shortname.
char shortname
 Short option letter if available, else use ' '.
uint16 flags
 Option data flags.
const char * longname
 Long option name including '-'/'--' prefix, use NULL if not available.

Detailed Description

Data of an option.

Definition at line 24 of file getoptdata.h.


Field Documentation

Option data flags.

See also:
OptionDataFlags

Definition at line 27 of file getoptdata.h.

Referenced by GetOptData::GetOpt().


The documentation for this struct was generated from the following file:

Generated on Fri May 27 04:21:00 2011 for OpenTTD by  doxygen 1.6.1