#ifndef _COMMON_H_ #define _COMMON_H_ #include #include #include #include #include #include #include extern "C" { #include "lua\lua.h" #include "lua\lualib.h" #include "lua\lauxlib.h" } #include "version.h" #include "resource.h" class CMLua; #include "mlua.h" #define MODULE "MirLua" extern HINSTANCE g_hInstance; #ifdef _UNICODE #define COMMON_SCRIPTS_PATHT MIRANDA_PATHW L"\\Scripts" #define CUSTOM_SCRIPTS_PATHT MIRANDA_USERDATAW L"\\Scripts" #else #define COMMON_SCRIPTS_PATHT MIRANDA_PATH "\\Scripts" #define CUSTOM_SCRIPTS_PATHT MIRANDA_USERDATA "\\Scripts" #endif #define LUA_CLISTLIBNAME "m_clist" int luaopen_m_clist(lua_State *L); #endif //_COMMON_H_