From 46363eef857b69761f1d6d28da5a53a954f76900 Mon Sep 17 00:00:00 2001 From: Konstantin Date: Sun, 20 May 2018 21:09:53 +0300 Subject: Revert "Merge branch 'master' of https://github.com/miranda-ng/miranda-ng" This reverts commit 3f90207479ee0a6530631812717801a54093658c, reversing changes made to 7d6b89fd45814936d0edeff664bf5efb2d19b875. --- plugins/MirLua/src/mlua.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 plugins/MirLua/src/mlua.h (limited to 'plugins/MirLua/src/mlua.h') diff --git a/plugins/MirLua/src/mlua.h b/plugins/MirLua/src/mlua.h new file mode 100644 index 0000000000..d3f9cc3acd --- /dev/null +++ b/plugins/MirLua/src/mlua.h @@ -0,0 +1,27 @@ +#ifndef _LUA_CORE_H_ +#define _LUA_CORE_H_ + +class CMLua : public PLUGIN +{ + friend class CMLuaOptions; + +private: + lua_State *L; + + void Unload(); + + INT_PTR __cdecl Eval(WPARAM, LPARAM); + INT_PTR __cdecl Call(WPARAM, LPARAM); + INT_PTR __cdecl Exec(WPARAM, LPARAM); + +public: + OBJLIST Scripts; + + CMLua(); + ~CMLua(); + + void Load(); + void Reload(); +}; + +#endif //_LUA_CORE_H_ -- cgit v1.2.3