summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/stdafx.h
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2016-01-03 21:30:23 +0000
committerAlexander Lantsev <aunsane@gmail.com>2016-01-03 21:30:23 +0000
commitf8b41d51f1b760a433c2dbf997ed852b7dd94945 (patch)
treec7a7cb6f6fc8b8bbdc8e63b9c67fe584f7470a9a /plugins/MirLua/src/stdafx.h
parent99d0352e7dd98a8d05247f1a446d212499b08a50 (diff)
MirLua: fixed script loading
git-svn-id: http://svn.miranda-ng.org/main/trunk@16014 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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);