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.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/plugins/MirLua/src/stdafx.h b/plugins/MirLua/src/stdafx.h
index 5c2cedb63e..1b463b564a 100644
--- a/plugins/MirLua/src/stdafx.h
+++ b/plugins/MirLua/src/stdafx.h
@@ -11,6 +11,7 @@
#include <m_database.h>
#include <m_options.h>
#include <m_gui.h>
+#include <m_netlib.h>
#include <m_genmenu.h>
#include <m_clist.h>
@@ -32,10 +33,7 @@ extern "C"
#include "version.h"
#include "resource.h"
-class CMLuaConsole;
-
#include "mlua.h"
-#include "mlua_console.h"
#include "mlua_module_loader.h"
#include "mlua_script_loader.h"
#include "mlua_options.h"
@@ -51,6 +49,8 @@ extern HINSTANCE g_hInstance;
extern HANDLE g_hCommonFolderPath;
extern HANDLE g_hCustomFolderPath;
+extern HANDLE hNetlib;
+
#ifdef _UNICODE
#define COMMON_SCRIPTS_PATHT MIRANDA_PATHW L"\\Scripts"
#define CUSTOM_SCRIPTS_PATHT MIRANDA_USERDATAW L"\\Scripts"
@@ -84,6 +84,9 @@ LUAMOD_API int (luaopen_m_toptoolbar)(lua_State *L);
#define MLUA_VARIABLES "m_variables"
LUAMOD_API int (luaopen_m_variables)(lua_State *L);
+int luaM_print(lua_State *L);
+int luaM_atpanic(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);