From 5de8252e58fbdbebb8914e99a90bec06a0ff039f Mon Sep 17 00:00:00 2001 From: aunsane Date: Sun, 20 May 2018 19:44:27 +0300 Subject: MirLua: environment now inherits CMPluginBase --- plugins/MirLua/src/mlua_script.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'plugins/MirLua/src/mlua_script.h') diff --git a/plugins/MirLua/src/mlua_script.h b/plugins/MirLua/src/mlua_script.h index 70c044741e..8106c7a00a 100644 --- a/plugins/MirLua/src/mlua_script.h +++ b/plugins/MirLua/src/mlua_script.h @@ -1,5 +1,4 @@ -#ifndef _LUA_SCRIPT_H_ -#define _LUA_SCRIPT_H_ +#pragma once class CMLuaScript : public CMLuaEnvironment { @@ -15,8 +14,8 @@ private: Status status; int unloadRef; - char *moduleName; - wchar_t *fileName; + //char *moduleName; + const wchar_t *fileName; wchar_t filePath[MAX_PATH]; void Unload(); @@ -38,5 +37,3 @@ public: bool Load(); bool Reload(); }; - -#endif //_LUA_SCRIPT_H_ -- cgit v1.2.3