summaryrefslogtreecommitdiff
path: root/lib/common/Configuration.h
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2010-06-06 15:12:20 +0000
committerChris Wilson <chris+github@qwirx.com>2010-06-06 15:12:20 +0000
commit03c09a7085382693f80a91aebb09b8ada429e704 (patch)
tree15aaee6f7b068f58016af2770a06bd4e81bb6df7 /lib/common/Configuration.h
parent90ce1105466ef4f09c3370344c55ae9710d38f9f (diff)
Add support for account numbers greater than 0x7fffffff without wrapping.
Diffstat (limited to 'lib/common/Configuration.h')
-rw-r--r--lib/common/Configuration.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/common/Configuration.h b/lib/common/Configuration.h
index 2babd753..4828b315 100644
--- a/lib/common/Configuration.h
+++ b/lib/common/Configuration.h
@@ -22,8 +22,9 @@ enum
ConfigTest_LastEntry = 1,
ConfigTest_Exists = 2,
ConfigTest_IsInt = 4,
- ConfigTest_MultiValueAllowed = 8,
- ConfigTest_IsBool = 16
+ ConfigTest_IsUint32 = 8,
+ ConfigTest_MultiValueAllowed = 16,
+ ConfigTest_IsBool = 32
};
class ConfigurationVerifyKey
@@ -112,6 +113,7 @@ public:
bool KeyExists(const std::string& rKeyName) const;
const std::string &GetKeyValue(const std::string& rKeyName) const;
int GetKeyValueInt(const std::string& rKeyName) const;
+ uint32_t GetKeyValueUint32(const std::string& rKeyName) const;
bool GetKeyValueBool(const std::string& rKeyName) const;
std::vector<std::string> GetKeyNames() const;