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.h19
1 files changed, 6 insertions, 13 deletions
diff --git a/plugins/MirLua/src/stdafx.h b/plugins/MirLua/src/stdafx.h
index 9eb436bfa7..db8a0b2e48 100644
--- a/plugins/MirLua/src/stdafx.h
+++ b/plugins/MirLua/src/stdafx.h
@@ -50,23 +50,12 @@ class CMLuaScript;
#define MODULE "MirLua"
-extern CMLua *g_mLua;
-
extern int hScriptsLangpack;
-
extern HINSTANCE g_hInstance;
-extern HANDLE g_hCLibsFolder;
-extern HANDLE g_hScriptsFolder;
-
-extern HANDLE hNetlib;
-
-#ifdef _UNICODE
-#define MIRLUA_CPATHT L""
-#else
-#define MIRLUA_CPATHT ""
-#endif
+extern CMLua *g_mLua;
+extern HANDLE g_hScriptsFolder;
#ifdef _UNICODE
#define MIRLUA_PATHT MIRANDA_PATHW L"\\Scripts"
#else
@@ -117,6 +106,10 @@ LUAMOD_API int (luaopen_m_windows)(lua_State *L);
/* utils */
+extern HANDLE hNetlib;
+void Log(const char *format, ...);
+void Log(const wchar_t *format, ...);
+
void ShowNotification(const char *caption, const char *message, int flags = 0, MCONTACT hContact = NULL);
int luaM_atpanic(lua_State *L);