From 059a7ea5928d49d81ed1d884e59c60f152983539 Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Sat, 18 Jul 2015 19:43:12 +0000 Subject: 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 --- plugins/MirLua/src/stdafx.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'plugins/MirLua/src/stdafx.h') 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 #include +#include #include #include @@ -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" -- cgit v1.2.3