summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/mlua_script.h
diff options
context:
space:
mode:
authoraunsane <aunsane@gmail.com>2017-09-29 00:22:53 +0300
committeraunsane <aunsane@gmail.com>2017-09-29 00:39:19 +0300
commit8d706b4ef942e01814f0a9db519aa32505b9abed (patch)
treeec3cd0464d4862f42041936958595c057abdfb78 /plugins/MirLua/src/mlua_script.h
parentaf9c3d7de7e35632d046575b5e4809a04abec816 (diff)
MirLua: added service functions to execute lua code
version bump
Diffstat (limited to 'plugins/MirLua/src/mlua_script.h')
-rw-r--r--plugins/MirLua/src/mlua_script.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/MirLua/src/mlua_script.h b/plugins/MirLua/src/mlua_script.h
index 2b5d57d7c7..36008d063b 100644
--- a/plugins/MirLua/src/mlua_script.h
+++ b/plugins/MirLua/src/mlua_script.h
@@ -12,14 +12,16 @@ public:
};
private:
+ Status status;
int unloadRef;
+
char *moduleName;
wchar_t *fileName;
wchar_t filePath[MAX_PATH];
- Status status;
public:
CMLuaScript(lua_State *L, const wchar_t *path);
+ CMLuaScript(const CMLuaScript &script);
~CMLuaScript();
const char* GetModuleName() const;
@@ -27,10 +29,9 @@ public:
const wchar_t* GetFilePath() const;
const wchar_t* GetFileName() const;
- const Status GetStatus() const;
+ Status GetStatus() const;
bool Load();
- void Unload();
};
#endif //_LUA_SCRIPT_H_