diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-10-15 11:45:00 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-10-15 11:45:00 +0000 |
commit | 57d7a593cb444941ade06bde7911aaa77d431cc4 (patch) | |
tree | ee2d415eeaa421c99854173b3755ff7e6ff1a535 /plugins/LangMan | |
parent | 7e54472de6322d6929874dc8acb66229590d250f (diff) |
code cleanup
registermodule service removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@6497 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/LangMan')
-rw-r--r-- | plugins/LangMan/src/main.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/plugins/LangMan/src/main.cpp b/plugins/LangMan/src/main.cpp index 595d68d14f..e25e2cabc7 100644 --- a/plugins/LangMan/src/main.cpp +++ b/plugins/LangMan/src/main.cpp @@ -23,7 +23,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. HINSTANCE hInst;
-static HANDLE hHookModulesLoaded;
int hLangpack;
static PLUGININFOEX pluginInfo = {
@@ -88,13 +87,6 @@ extern "C" __declspec(dllexport) const PLUGININFOEX* MirandaPluginInfoEx(DWORD) ///////////////////////////////////////////////////////////////////////////////
-static int LangManModulesLoaded(WPARAM, LPARAM)
-{
- if ( ServiceExists("DBEditorpp/RegisterSingleModule"))
- CallService("DBEditorpp/RegisterSingleModule", (WPARAM)"LangMan", 0);
- return 0;
-}
-
extern "C" __declspec(dllexport) int Load(void)
{
@@ -124,7 +116,6 @@ extern "C" __declspec(dllexport) int Load(void) InstallFile(_T("LangMan-Readme.txt"), _T("Docs\\"));
InstallFile(_T("LangMan-License.txt"), _T("Docs\\"));
InstallFile(_T("LangMan-SDK.zip"), _T("Docs\\"));
- hHookModulesLoaded = HookEvent(ME_SYSTEM_MODULESLOADED, LangManModulesLoaded);
return 0;
}
@@ -133,6 +124,5 @@ extern "C" __declspec(dllexport) int Load(void) extern "C" __declspec(dllexport) int Unload(void)
{
UninitOptions();
- UnhookEvent(hHookModulesLoaded);
return 0;
}
\ No newline at end of file |