- Adopted by:
- DConfigTree, DConfigWriter
- Declared in:
- DConfig.h
Protocol Description
The DConfigHandler protocol specifies the methods a config handler
must implement for processing the contents of a config file.
- Last modified:
- 25-Aug-2008 (DConfig.h)
Method Index
- - (BOOL) comment :(const char *) comment
- Process a comment in the config file
- Parameters:
- comment - the comment text
- Returns:
- success
- - (BOOL) endConfig
- Process the end of the config file
- Returns:
- success
- - (void) error :(int) number :(const char *) name :(int) lineNumber :(int) columnNumber
- An error is found during the parsing of the file
- Parameters:
- number - the error number
name - the name of the config file
lineNumber - the line number in the config file
columnNumber - the column number in the config file
- Returns:
- success
- - (BOOL) option :(const char *) section :(const char *) name :(const char *) value
- Process an option
- Parameters:
- section - the name of the section
name - the name of the option
value - the value of the option
- Returns:
- success
- - (BOOL) section :(const char *) name
- Process a (start of a) section
- Parameters:
- name - the name of the section
- Returns:
- success
- - (BOOL) startConfig
- Process the start of the config file
- Returns:
- success
generated 06-Sep-2008 by ObjcDoc 3.0.0