/**
Set current path: if the first character is '/', it is the absolute
path, otherwise it is a relative path. '..' is supported. If @a strPath
doesn't exist it is created.
*/
/**
Set current path: if the first character is '/', it is the absolute
path, otherwise it is a relative path. '..' is supported. If @a strPath
doesn't exist it is created.
*/
about type mismatch otherwise: e.g., an attempt to read a string value
from an integer key with wxRegConfig will fail.
*/
about type mismatch otherwise: e.g., an attempt to read a string value
from an integer key with wxRegConfig will fail.
*/
- const bool Read(const wxString& key, wxString* str,
- const wxString& defaultVal) const;
+ bool Read(const wxString& key, wxString* str,
+ const wxString& defaultVal) const;
/**
Another version of Read(), returning the string value directly.
*/
const wxString Read(const wxString& key,
/**
Another version of Read(), returning the string value directly.
*/
const wxString Read(const wxString& key,
/**
Reads a long value, returning @true if the value was found. If the
value was not found, @a l is not changed.
*/
/**
Reads a long value, returning @true if the value was found. If the
value was not found, @a l is not changed.
*/
/**
Reads a long value, returning @true if the value was found. If the
value was not found, @a defaultVal is used instead.
*/
/**
Reads a long value, returning @true if the value was found. If the
value was not found, @a defaultVal is used instead.
*/
- const bool Read(const wxString& key, long* l,
- long defaultVal) const;
+ bool Read(const wxString& key, long* l,
+ long defaultVal) const;
/**
Reads a double value, returning @true if the value was found. If the
value was not found, @a d is not changed.
*/
/**
Reads a double value, returning @true if the value was found. If the
value was not found, @a d is not changed.
*/
/**
Reads a double value, returning @true if the value was found. If the
value was not found, @a defaultVal is used instead.
*/
/**
Reads a double value, returning @true if the value was found. If the
value was not found, @a defaultVal is used instead.
*/
double defaultVal) const;
/**
Reads a bool value, returning @true if the value was found. If the
value was not found, @a b is not changed.
*/
double defaultVal) const;
/**
Reads a bool value, returning @true if the value was found. If the
value was not found, @a b is not changed.
*/
/**
Reads a bool value, returning @true if the value was found. If the
value was not found, @a defaultVal is used instead.
*/
/**
Reads a bool value, returning @true if the value was found. If the
value was not found, @a defaultVal is used instead.
*/
- const bool Read(const wxString& key, bool* d,
- bool defaultVal) const;
+ bool Read(const wxString& key, bool* d,
+ bool defaultVal) const;
/**
Reads a binary block, returning @true if the value was found. If the
value was not found, @a buf is not changed.
*/
/**
Reads a binary block, returning @true if the value was found. If the
value was not found, @a buf is not changed.
*/
/**
Reads a value of type T, for which function wxFromString() is defined,
returning @true if the value was found. If the value was not found,
@a value is not changed.
*/
/**
Reads a value of type T, for which function wxFromString() is defined,
returning @true if the value was found. If the value was not found,
@a value is not changed.
*/
/**
Reads a value of type T, for which function wxFromString() is defined,
returning @true if the value was found. If the value was not found,
@a defaultVal is used instead.
*/
/**
Reads a value of type T, for which function wxFromString() is defined,
returning @true if the value was found. If the value was not found,
@a defaultVal is used instead.
*/
- const bool Read(const wxString& key, T* value,
- const T& defaultVal) const;
+ bool Read(const wxString& key, T* value,
+ const T& defaultVal) const;
Delete the whole underlying object (disk file, registry key, ...).
Primarly for use by uninstallation routine.
*/
Delete the whole underlying object (disk file, registry key, ...).
Primarly for use by uninstallation routine.
*/
/**
Deletes the specified entry and the group it belongs to if it was the
last key in it and the second parameter is @true.
*/
/**
Deletes the specified entry and the group it belongs to if it was the
last key in it and the second parameter is @true.
*/
- bool DeleteEntry(const wxString& key,
- bool bDeleteGroupIfEmpty = true);
+ virtual bool DeleteEntry(const wxString& key,
+ bool bDeleteGroupIfEmpty = true) = 0;
component. E.g. if the current path is @c "/A/B/C/D" and the group @c C
is deleted, the path becomes @c "/A/B".
*/
component. E.g. if the current path is @c "/A/B/C/D" and the group @c C
is deleted, the path becomes @c "/A/B".
*/