15 #error "You need to #include "sys.h" at the top of every source file (which in turn should #include <libcwd/sys.h>)." 18 #ifndef LIBCWD_CLASS_RCFILE_H 19 #define LIBCWD_CLASS_RCFILE_H 50 std::string M_konsole_command;
51 std::string M_gdb_bin;
66 rcfile_ct() : M_env_set(false), M_read_called(false) { }
70 void M_print_delayed_msg()
const;
72 static bool S_exists(
char const* name);
73 std::string M_determine_rcfile_name();
75 enum action_nt { toggle, on, off };
76 void M_process_channel(
channel_ct& debugChannel, std::string
const& mask, action_nt
const action);
77 void M_process_channels(std::string list, action_nt
const action);
91 std::string
const&
gdb_bin()
const {
return M_gdb_bin; }
107 virtual bool unknown_keyword(std::string
const& keyword, std::string
const& value);
124 #endif // LIBCWD_CLASS_RCFILE_H std::string const & konsole_command() const
Returns the command line string as set with the 'xterm' keyword.
Definition: class_rcfile.h:87
rcfile_ct()
Construct a rcfile object.
Definition: class_rcfile.h:66
void read_rcfile()
Calls libcwd::rcfile.read().
Definition: class_rcfile.h:117
bool read_called() const
Returns true when this object is initialized.
Definition: class_rcfile.h:95
std::string const & gdb_bin() const
Returns the command line string as set with the 'gdb_bin' keyword.
Definition: class_rcfile.h:91
namespace for libcwd.
Definition: debug.cc:87
virtual bool unknown_keyword(std::string const &keyword, std::string const &value)
Virtual function called for unknown keywords.
void read()
Initialize this object by reading the rcfile.
This object represents a runtime configuration file.
Definition: class_rcfile.h:48
This object represents a debug channel, it has a fixed label. A debug channel can be viewed upon as a...
Definition: class_channel.h:82