Xfce Foundation Classes
Main Page  | IndexNamespace List  |  Alphabetical List  |  Class List  |  File List


keyfile.hh File Reference

A C++ interface for the GKeyFile configuarion file parser. More...

#include <xfc/object.hh>
#include <glib/gkeyfile.h>
#include <vector>
#include <xfc/glib/inline/keyfile.inl>

Namespaces

Classes

Typedefs

Enumerations


Detailed Description

A C++ interface for the GKeyFile configuarion file parser.


Enumeration Type Documentation

enum KeyFileError
 

Specifies the error codes returned by key file parsing.

Enumeration values:
KEY_FILE_ERROR_UNKNOWN_ENCODING  The text being parsed was in an unknown encoding.
KEY_FILE_ERROR_PARSE  The document was ill-formed.
KEY_FILE_ERROR_NOT_FOUND  The file was not found.
KEY_FILE_ERROR_KEY_NOT_FOUND  A requested key was not found.
KEY_FILE_ERROR_GROUP_NOT_FOUND  A requested group was not found.
KEY_FILE_ERROR_INVALID_VALUE  A value could not be parsed.

enum KeyFileFlags
 

Specifies the flags which influence the parsing.

Enumeration values:
KEY_FILE_NONE  No flags, default behaviour.
KEY_FILE_KEEP_COMMENTS  Use this flag if you plan to write the (possibly modified) contents of the key file back to a file; otherwise all comments will be lost when the key file is written back.
KEY_FILE_KEEP_TRANSLATIONS  Use this flag if you plan to write the (possibly modified) contents of the key file back to a file; otherwise only the translations for the current language will be written back.
Xfce Foundation Classes


Copyright © 2004-2005 The XFC Development Team XFC 4.3