X11 Work Bench Toolkit  1.0
_CHXSetting_ Struct Reference

Structure for storing settings information internally. More...

#include <conf_help.h>

Data Fields

const char * szName
 pointer to the NAME string within memory that follows CHXSettings::aData
 
int iType
 The setting type (XSettingsType enumeration)
 
int iLen
 length (where applicable)
 
unsigned int uiSerial
 serial # from last XSETTINGS [endian-ized]
 
union {
   int   iData
 The data as an integer value.
 
   WB_INT64   llData
 Reserved element, forces 64-bit size.
 
   XSETTINGS_DATA_COLOR   clrData
 The data as a color value.
 
   void *   pData
 un-typed pointer to data within string area
 
   char *   szData
 'char' typed pointer to data within string area
 
uData
 union of the data alias'
 

Detailed Description

Structure for storing settings information internally.

This structure is used internally by the Configuration 'helper' functions to cache configuration information obtained from the Window Manager or from the (deprecated) system configuration.

typedef struct _CHXSetting_
{
const char *szName; // pointer to the NAME string within memory that follows CHXSettings::aData
int iType; // The setting type (\ref XSettingsType enumeration)
int iLen; // length (where applicable)
unsigned int uiSerial; // serial # from last XSETTINGS [endian-ized]
union
{
int iData; // The data as an integer value
WB_INT64 llData; // Reserved element, forces 64-bit size
XSETTINGS_DATA_COLOR clrData; // The data as a color value
void *pData; // un-typed pointer to data within string area
char *szData; // 'char' typed pointer to data within string area
} uData; // union of the data alias'

Definition at line 402 of file conf_help.h.


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