Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
p6config.h File Reference
#include "p6i18n.h"

Go to the source code of this file.

Classes

struct  P6R::P6CONFIGWVALUE
 
interface  P6R::p6IEnumConfigWSections
 
interface  P6R::p6IEnumConfigWValues
 
interface  P6R::p6IWConfig
 
interface  P6R::p6IWConfigTokens
 

Namespaces

 P6R
 

Macros

#define COMP_p6WConfig   {0x104deebc,0x8510,0x4baa,{0xa3,0x9e,0x4d,0xdf,0x8c,0xde,0x58,0xb2}}
 
#define GLOBAL_CONFIG_INTERFACE   "P6R::p6IWConfig::ApplicationGlobalConfig\0"
 
#define IF_p6IEnumConfigWSections   {0xf6c2f961,0x605a,0x4e33,{0x93,0x8b,0x20,0x85,0xa9,0xcb,0x3c,0xed}}
 
#define IF_p6IEnumConfigWValues   {0x1faeacc1,0x1af2,0x4a3e,{0x80,0x47,0x5d,0x50,0xc0,0xe3,0x55,0xcf}}
 
#define IF_p6IWConfig   {0x9699fb6a,0x28ef,0x47f3,{0xa6,0x59,0x18,0x37,0xa4,0x66,0xf6,0xa7}}
 
#define IF_p6IWConfigTokens   {0xa6824833,0x8289,0x4b70,{0x8d,0xfc,0x5c,0x5f,0x70,0x28,0x41,0x9c}}
 
#define INTERFACE   p6IEnumConfigWSections
 
#define INTERFACE   p6IEnumConfigWValues
 
#define INTERFACE   p6IWConfigTokens
 
#define INTERFACE   p6IWConfig
 

Typedefs

typedef P6VOID(* P6R::CONFIG_NOTIFY_CHANGE )(P6INT32 eventCode, P6VOID *pContext)
 
typedef P6UINT32 P6R::P6CONFIGFLAGS
 
typedef P6UINT32 P6R::P6OPENFLAGS
 

Enumerations

enum  P6R::P6CONFIG_NOTIFY_CODES {
  P6R::P6CONFIG_NOTIFY_NOOP = 0x00, P6R::P6CONFIG_NOTIFY_FLUSH = 0x01, P6R::P6CONFIG_NOTIFY_RELOAD = 0x02, P6R::P6CONFIG_NOTIFY_CREATE = 0x03,
  P6R::P6CONFIG_NOTIFY_SETVALUE = 0x04, P6R::P6CONFIG_NOTIFY_NEWVALUE = 0x05, P6R::P6CONFIG_NOTIFY_P6R = 0x06
}
 

Detailed Description

Interface definition for configuration data (from ".ini" files).

A wide character interface is provided for reading / writing / updating / and creating configuration files. Comments (i.e., lines starting with '#') are supported. Enumerators for all sections and values in each section of a configuration file are provided. The interface provided allows for a flexible update scheme to either the original configuration file, or to one or more alternate files. The calling application can reload (or flush) all configuration values in case the values have changed since last read. In addition, the configuration objects maintain a copy of all default values that have been returned, so that it is possible to view the real configuration values being used.

Definition in file p6config.h.