wxFileConfig implements wxConfigBase interface for
storing and retrieving configuration information using plain text files. The
files have a simple format reminiscent of Windows INI files with lines of the
- form @c key = value defining the keys and lines of special form
- @c [group] indicating the start of each group.
+ form @c "key = value" defining the keys and lines of special form
+ @c "[group]" indicating the start of each group.
This class is used by default for wxConfig on Unix platforms but may also be
used explicitly if you want to use files and not the registry even under
user-specific, file if it were constructed with @a basename as "local filename"
parameter in the constructor.
- @a style has the same meaning as in @ref wxConfigBase::ctor constructor
+ @a style has the same meaning as in @ref wxConfigBase::wxConfigBase "wxConfig constructor"
and can contain any combination of styles but only wxCONFIG_USE_SUBDIR bit is
examined by this function.
Notice that this function cannot be used if @a basename is already a full path name.
*/
- static wxFileName GetLocalFile(const wxString& basename,
- int style = 0);
+ static wxFileName GetLocalFile(const wxString& basename, int style = 0);
/**
Saves all config data to the given stream, returns @true if data was saved