summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/stdafx.h
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2016-01-02 14:54:06 +0000
committerAlexander Lantsev <aunsane@gmail.com>2016-01-02 14:54:06 +0000
commitb544097135831f24da3d6b11211d19e9536005f0 (patch)
treec2527a7cca50fef51ddea2980d0c455633c149c5 /plugins/MirLua/src/stdafx.h
parent90cac394f9e49fb2ccc5e588dd78e093e0510c4e (diff)
MirLua: added new settings
git-svn-id: http://svn.miranda-ng.org/main/trunk@15993 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua/src/stdafx.h')
-rw-r--r--plugins/MirLua/src/stdafx.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/plugins/MirLua/src/stdafx.h b/plugins/MirLua/src/stdafx.h
index f791f4a183..73573652ef 100644
--- a/plugins/MirLua/src/stdafx.h
+++ b/plugins/MirLua/src/stdafx.h
@@ -73,6 +73,8 @@ extern HANDLE hNetlib;
#define MIRLUA_PATHT MIRANDA_PATH "\\Scripts"
#endif
+/* modules */
+
#define MLUA_CORE "m_core"
LUAMOD_API int (luaopen_m_core)(lua_State *L);
@@ -113,6 +115,10 @@ LUAMOD_API int (luaopen_m_variables)(lua_State *L);
#define MLUA_WINDOWS "m_windows"
LUAMOD_API int (luaopen_m_windows)(lua_State *L);
+/* utils */
+
+void ShowNotification(const char *caption, const char *message, int flags = 0, MCONTACT hContact = NULL);
+
int luaM_atpanic(lua_State *L);
int luaM_pcall(lua_State *L, int n = 0, int r = 0);
@@ -131,8 +137,6 @@ void InitIcons();
HICON GetIcon(int iconId);
HANDLE GetIconHandle(int iconId);
-void ShowNotification(const char *caption, const char *message, int flags = 0, MCONTACT hContact = NULL);
-
void ObsoleteMethod(lua_State *L, const char *message);
#endif //_COMMON_H_