X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=util%2Fepist%2Fconfig.cc;h=3e99e135b0754b6f18a462666b849696fc56a525;hb=ba1a71566b7e793409f0f32ad7b9589e8b8e8c70;hp=db9ecdddcf09aa174c8eff9ad4300891b4d0ddfc;hpb=11e643f4b885ee1f96112fcf531739a339691272;p=chaz%2Fopenbox diff --git a/util/epist/config.cc b/util/epist/config.cc index db9ecddd..3e99e135 100644 --- a/util/epist/config.cc +++ b/util/epist/config.cc @@ -46,7 +46,7 @@ Config::~Config() } -bool Config::getStringValue(Config::StringType type, string &ret) const +bool Config::getValue(Config::StringType type, string &ret) const { StringItemList::const_iterator it = string_items.begin(), end = string_items.end(); for (; it != end; ++it) { @@ -59,7 +59,7 @@ bool Config::getStringValue(Config::StringType type, string &ret) const } -bool Config::getNumberValue(Config::NumberType type, int &ret) const +bool Config::getValue(Config::NumberType type, int &ret) const { NumberItemList::const_iterator it = number_items.begin(), end = number_items.end(); for (; it != end; ++it) { @@ -72,7 +72,7 @@ bool Config::getNumberValue(Config::NumberType type, int &ret) const } -bool Config::getBoolValue(Config::BoolType type, bool &ret) const +bool Config::getValue(Config::BoolType type, bool &ret) const { BoolItemList::const_iterator it = bool_items.begin(), end = bool_items.end(); for (; it != end; ++it) {