ChDefs.h

libCh constants, enumerated types

libCh defines some useful constants and enumerated types in the Ch/ChDefs.h header; they're described here for your amusement.


Constants

libCh defines the following constants:

Name Type Description
libCh_VERSION #define A 16-bit value defining the current libCh version. The most-significant byte is the major version number, and the least-significant byte is the minor version number. For example, 0x0100 would be "1.0", and 0x1234 would be "12.34".
The current libCh_VERSION is 0x0002 for "0.2".

Enumerated types

libCh defines the following enumerated types:

Name Value Description
Ch_QUIT_NOW 'cQtn' Used for "quit immediately!" messages sent to ChSigApplication objects, which triggers the QuitDemanded() method.
Ch_SIGNAL_RECEIVED 'cSig' Used for "signal received" messages sent to ChSigApplication objects, which triggers the SignalReceived() method.

Last modified: $Date: 1998/04/12 15:25:27 $