Merge pull request #3329 from cuberite/FixIniFileNoId
Re-added the cIniFile.noID constant to Lua API.
This commit is contained in:
commit
47d23f7c76
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user