CmdConfig: Abstract saving and removal of the configuration values into separate methods

This commit is contained in:
Tomas Babej 2015-02-21 00:47:06 +01:00 committed by Paul Beckingham
parent 49a7e46eaf
commit a4d5ab07e9
2 changed files with 106 additions and 62 deletions

View file

@ -34,6 +34,8 @@ class CmdConfig : public Command
{
public:
CmdConfig ();
static bool setConfigVariable (std::string name, std::string value, bool confirmation = false);
static int unsetConfigVariable (std::string name, bool confirmation = false);
int execute (std::string&);
};