This object represents a runtime configuration file. More...
#include <libcwd/debug.h>
Public Member Functions | |
rcfile_ct () | |
Construct a rcfile object. | |
void | read () |
Initialize this object by reading the rcfile. | |
std::string const & | konsole_command () const |
Returns the command line string as set with the 'xterm' keyword. | |
std::string const & | gdb_bin () const |
Returns the command line string as set with the 'gdb_bin' keyword. | |
bool | read_called () const |
Returns true when this object is initialized. | |
Protected Member Functions | |
virtual bool | unknown_keyword (std::string const &keyword, std::string const &value) |
Virtual function called for unknown keywords. More... | |
This object represents a runtime configuration file.
Libcwd contains one object of this type, libcwd::rcfile
. This is the object that is used by read_rcfile()
.
|
protectedvirtual |
Virtual function called for unknown keywords.
By using this class as a base and overriding this function it is possible to extend the keywords that are recognized.
This function should return true
when the keyword is not handled. The default behaviour is to always return true
.
Referenced by read_called().