6#ifndef LIBCWD_CLASS_RCFILE_H
7#define LIBCWD_CLASS_RCFILE_H
30 std::string konsole_command_;
45 RcFile() : env_set_(false), read_called_(false) { }
49 void print_delayed_msg(
int env_var, std::string
const& value)
const;
50 void set_all_channels_on();
51 void set_all_channels_off(
bool warning_on);
53 static bool S_exists(
char const* name);
54 std::string determine_rcfile_name();
62 void process_channel(Channel& debugChannel, std::string
const& mask, action_nt
const action);
63 void process_channels(std::string list, action_nt
const action);
77 std::string
const&
gdb_bin()
const {
return gdb_bin_; }
93 virtual bool unknown_keyword(std::string
const& keyword, std::string
const& value);
This object represents a debug channel, it has a fixed label. A debug channel can be viewed upon as a...
Definition Channel.h:74
This object represents a runtime configuration file.
Definition RcFile.h:28
virtual bool unknown_keyword(std::string const &keyword, std::string const &value)
Virtual function called for unknown keywords.
bool read_called() const
Returns true when this object is initialized.
Definition RcFile.h:81
std::string const & gdb_bin() const
Returns the command line string as set with the 'gdb_bin' keyword.
Definition RcFile.h:77
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.
Definition RcFile.h:73
RcFile()
Construct a rcfile object.
Definition RcFile.h:45
void read_rcfile()
Calls libcwd::rcfile.read().
Definition RcFile.h:103