summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2016-08-18 12:47:17 +0200
committerGitHub <noreply@github.com>2016-08-18 12:47:17 +0200
commit47d23f7c7685fc54977eb3d6755a9249f3f0338b (patch)
treeb690da0627c505ba64aa766f32d632790b9da5ae
parentMerge pull request #3327 from ElNounch/QueueTask (diff)
parentPull the cSettingsRepositoryInterface::noID constant into cIniFile Lua API. (diff)
downloadcuberite-47d23f7c7685fc54977eb3d6755a9249f3f0338b.tar
cuberite-47d23f7c7685fc54977eb3d6755a9249f3f0338b.tar.gz
cuberite-47d23f7c7685fc54977eb3d6755a9249f3f0338b.tar.bz2
cuberite-47d23f7c7685fc54977eb3d6755a9249f3f0338b.tar.lz
cuberite-47d23f7c7685fc54977eb3d6755a9249f3f0338b.tar.xz
cuberite-47d23f7c7685fc54977eb3d6755a9249f3f0338b.tar.zst
cuberite-47d23f7c7685fc54977eb3d6755a9249f3f0338b.zip
Diffstat (limited to '')
-rw-r--r--src/IniFile.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/IniFile.h b/src/IniFile.h
index 37bf451d7..802eb9982 100644
--- a/src/IniFile.h
+++ b/src/IniFile.h
@@ -33,6 +33,9 @@
class cIniFile : public cSettingsRepositoryInterface
{
private:
+ typedef cSettingsRepositoryInterface Super;
+
+
bool m_IsCaseInsensitive;
AString m_Filename;
@@ -56,6 +59,14 @@ private:
public:
+ // NOTE: This has to be present for ToLua++'s parser to output the noID constant into the API
+ // We don't want to export the entire base class, so the constant needs to get pulled into this descendant
+ enum
+ {
+ noID = Super::noID,
+ };
+
+
/** Creates a new instance with no data */
cIniFile(void);