summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/stdafx.h
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-07-18 19:43:12 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-07-18 19:43:12 +0000
commit059a7ea5928d49d81ed1d884e59c60f152983539 (patch)
tree8d4065bfa11f5cba5714d131842108c6a1286922 /plugins/MirLua/src/stdafx.h
parent952154728cfc9a390f9f7b2e3326ea32d76e0003 (diff)
MirLua:
- removed OnScriptLoaded/OnScriptUnload - removed second script path - module loading and options refactoring - version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@14587 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua/src/stdafx.h')
-rw-r--r--plugins/MirLua/src/stdafx.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/plugins/MirLua/src/stdafx.h b/plugins/MirLua/src/stdafx.h
index d43437e64c..96175e0ff0 100644
--- a/plugins/MirLua/src/stdafx.h
+++ b/plugins/MirLua/src/stdafx.h
@@ -3,6 +3,7 @@
#include <windows.h>
#include <commctrl.h>
+#include <malloc.h>
#include <newpluginapi.h>
#include <m_core.h>
@@ -35,7 +36,10 @@ extern "C"
#include "version.h"
#include "resource.h"
+class CMLuaScript;
+
#include "mlua.h"
+#include "mlua_script.h"
#include "mlua_module_loader.h"
#include "mlua_script_loader.h"
#include "mlua_options.h"
@@ -48,17 +52,14 @@ extern int hScriptsLangpack;
extern HINSTANCE g_hInstance;
-extern HANDLE g_hCommonFolderPath;
-extern HANDLE g_hCustomFolderPath;
+extern HANDLE g_hCommonScriptFolder;
extern HANDLE hNetlib;
#ifdef _UNICODE
#define COMMON_SCRIPTS_PATHT MIRANDA_PATHW L"\\Scripts"
- #define CUSTOM_SCRIPTS_PATHT MIRANDA_USERDATAW L"\\Scripts"
#else
#define COMMON_SCRIPTS_PATHT MIRANDA_PATH "\\Scripts"
- #define CUSTOM_SCRIPTS_PATHT MIRANDA_USERDATA "\\Scripts"
#endif
#define MLUA_CORE "m"