diff options
Diffstat (limited to 'plugins/MirLua/src/mlua_script.h')
-rw-r--r-- | plugins/MirLua/src/mlua_script.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/plugins/MirLua/src/mlua_script.h b/plugins/MirLua/src/mlua_script.h index 539a0123b8..2b5d57d7c7 100644 --- a/plugins/MirLua/src/mlua_script.h +++ b/plugins/MirLua/src/mlua_script.h @@ -1,11 +1,9 @@ #ifndef _LUA_SCRIPT_H_
#define _LUA_SCRIPT_H_
-class CMLuaScript
+class CMLuaScript : public CMLuaEnviroment
{
public:
- lua_State *L;
-
enum Status
{
None,
@@ -14,7 +12,6 @@ public: };
private:
- int id;
int unloadRef;
char *moduleName;
wchar_t *fileName;
@@ -25,11 +22,6 @@ public: CMLuaScript(lua_State *L, const wchar_t *path);
~CMLuaScript();
- static CMLuaScript* GetScriptFromEnviroment(lua_State *L);
- static int GetScriptIdFromEnviroment(lua_State *L);
-
- int GetId() const;
-
const char* GetModuleName() const;
const wchar_t* GetFilePath() const;
|