diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-06-05 18:58:29 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-06-05 18:58:29 +0200 |
commit | 156c9851b8a099656fa86ea52d989e35e5b7ebf1 (patch) | |
tree | f2d8b111aee03dba8f37a8c9bd04952ff1b7926c /lib/inifile/iniFile.h | |
parent | Fixed decision failure (diff) | |
download | cuberite-156c9851b8a099656fa86ea52d989e35e5b7ebf1.tar cuberite-156c9851b8a099656fa86ea52d989e35e5b7ebf1.tar.gz cuberite-156c9851b8a099656fa86ea52d989e35e5b7ebf1.tar.bz2 cuberite-156c9851b8a099656fa86ea52d989e35e5b7ebf1.tar.lz cuberite-156c9851b8a099656fa86ea52d989e35e5b7ebf1.tar.xz cuberite-156c9851b8a099656fa86ea52d989e35e5b7ebf1.tar.zst cuberite-156c9851b8a099656fa86ea52d989e35e5b7ebf1.zip |
Diffstat (limited to 'lib/inifile/iniFile.h')
-rw-r--r-- | lib/inifile/iniFile.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/inifile/iniFile.h b/lib/inifile/iniFile.h index 0bf1d917e..58fecd0cf 100644 --- a/lib/inifile/iniFile.h +++ b/lib/inifile/iniFile.h @@ -119,6 +119,7 @@ public: AString GetValueSet (const AString & keyname, const AString & valuename, const AString & defValue = ""); double GetValueSetF(const AString & keyname, const AString & valuename, const double defValue = 0.0); int GetValueSetI(const AString & keyname, const AString & valuename, const int defValue = 0); + Int64 GetValueSetI(const AString & keyname, const AString & valuename, const Int64 defValue = 0); bool GetValueSetB(const AString & keyname, const AString & valuename, const bool defValue = false) { return (GetValueSetI(keyname, valuename, defValue ? 1 : 0) != 0); @@ -141,6 +142,7 @@ public: bool SetValue (const int keyID, const int valueID, const AString & value); bool SetValue (const AString & a_KeyName, const AString & a_ValueName, const AString & a_Value, const bool a_CreateIfNotExists = true); bool SetValueI(const AString & a_KeyName, const AString & a_ValueName, const int a_Value, const bool a_CreateIfNotExists = true); + bool SetValueI(const AString & a_Keyname, const AString & a_ValueName, const Int64 a_Value, const bool a_CreateIfNotExists = true); bool SetValueB(const AString & a_KeyName, const AString & a_ValueName, const bool a_Value, const bool a_CreateIfNotExists = true) { return SetValueI(a_KeyName, a_ValueName, int(a_Value), a_CreateIfNotExists); |