summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/stdafx.h
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-06-30 15:31:44 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-06-30 15:31:44 +0000
commit5dac5be47f2d9af8cbceead6511ff4c0fc40bab5 (patch)
treee7835f34984466b1382e75c8eebc656f4e9cfb4f /plugins/MirLua/src/stdafx.h
parentf65741787bee7c5d143d733efb32b7ec3452edc6 (diff)
MirLua: !api break
- separated m_clist and m_genmenu modules - moved AddMainMenuItem, AddContactMenuItem, AddTrayMenuItem to m_clist - added BuildMainMenu, BuildContactMenu and BuildTrayMenu to m_clist - updated examples - version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@14458 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua/src/stdafx.h')
-rw-r--r--plugins/MirLua/src/stdafx.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/MirLua/src/stdafx.h b/plugins/MirLua/src/stdafx.h
index 592640b3e6..b540a208be 100644
--- a/plugins/MirLua/src/stdafx.h
+++ b/plugins/MirLua/src/stdafx.h
@@ -12,8 +12,8 @@
#include <m_options.h>
#include <m_gui.h>
-#include <m_clist.h>
#include <m_genmenu.h>
+#include <m_clist.h>
#include <m_icolib.h>
#include <m_folders.h>
@@ -62,6 +62,9 @@ extern HANDLE g_hCustomFolderPath;
#define MLUA_CORE "m"
LUAMOD_API int (luaopen_m)(lua_State *L);
+#define MLUA_CLIST "m_clist"
+LUAMOD_API int (luaopen_m_clist)(lua_State *L);
+
#define MLUA_DATABASE "m_database"
LUAMOD_API int (luaopen_m_database)(lua_State *L);
@@ -83,6 +86,7 @@ LUAMOD_API int (luaopen_m_toptoolbar)(lua_State *L);
#define MLUA_VARIABLES "m_variables"
LUAMOD_API int (luaopen_m_variables)(lua_State *L);
+bool luaM_checkboolean(lua_State *L, int idx);
WPARAM luaM_towparam(lua_State *L, int idx);
LPARAM luaM_tolparam(lua_State *L, int idx);