summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/stdafx.h
diff options
context:
space:
mode:
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_