diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2015-06-24 13:08:55 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2015-06-24 13:08:55 +0000 |
commit | 0ccdb951979ead80e9264233776b9147ff701fc7 (patch) | |
tree | 904e408efb04c346e1694089cd863e6a56986563 /plugins/MirLua/src/main.cpp | |
parent | 2104de821739508078c23dcc046a5640bf300ea1 (diff) |
MirLua: options and log cosmetics
git-svn-id: http://svn.miranda-ng.org/main/trunk@14362 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua/src/main.cpp')
-rw-r--r-- | plugins/MirLua/src/main.cpp | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/plugins/MirLua/src/main.cpp b/plugins/MirLua/src/main.cpp index 64fc38f641..62ebb97be3 100644 --- a/plugins/MirLua/src/main.cpp +++ b/plugins/MirLua/src/main.cpp @@ -38,22 +38,10 @@ extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD) return &pluginInfo;
}
-int OnOptionsInit(WPARAM wParam, LPARAM)
-{
- OPTIONSDIALOGPAGE odp = { 0 };
- odp.flags = ODPF_BOLDGROUPS | ODPF_TCHAR | ODPF_DONTTRANSLATE;
- odp.ptszGroup = LPGENT("Customize");
- odp.ptszTitle = LPGENT("Scripts");
- odp.ptszTab = _T("Lua");
- odp.pDialog = CLuaOptions::CreateOptionsPage();
- Options_AddPage(wParam, &odp);
-
- return 0;
-}
-
int OnModulesLoaded(WPARAM, LPARAM)
{
- HookEvent(ME_OPT_INITIALISE, OnOptionsInit);
+ HookEvent(ME_OPT_INITIALISE, CLuaOptions::OnOptionsInit);
+
return 0;
}
|