summaryrefslogtreecommitdiff
path: root/plugins/ChangeKeyboardLayout/src/hook_events.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-06-14 13:17:26 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-06-14 13:17:26 +0000
commit02ed4455c23e3562d71bfc80a0e2c4fede8708f1 (patch)
tree115a3d24e4a3877cd28bd4ff2d9d4011b790cc5f /plugins/ChangeKeyboardLayout/src/hook_events.cpp
parentc72584d6b934b37dbd18d5f15ffb24a140e1e3f2 (diff)
- all icolib services removed;
- IcoLib_* functions are bound directly to the code git-svn-id: http://svn.miranda-ng.org/main/trunk@14161 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ChangeKeyboardLayout/src/hook_events.cpp')
-rw-r--r--plugins/ChangeKeyboardLayout/src/hook_events.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/ChangeKeyboardLayout/src/hook_events.cpp b/plugins/ChangeKeyboardLayout/src/hook_events.cpp
index dbb57e0ad3..29ce01d5f1 100644
--- a/plugins/ChangeKeyboardLayout/src/hook_events.cpp
+++ b/plugins/ChangeKeyboardLayout/src/hook_events.cpp
@@ -1,12 +1,12 @@
#include "stdafx.h"
-INT_PTR APIChangeLayout(WPARAM wParam, LPARAM lParam)
+INT_PTR APIChangeLayout(WPARAM wParam, LPARAM)
{
BOOL CurrentWord = moOptions.CurrentWordLayout;
return ChangeLayout((HWND)wParam, TOT_Layout, CurrentWord);
}
-INT_PTR APIGetLayoutOfText(WPARAM wParam, LPARAM lParam)
+INT_PTR APIGetLayoutOfText(WPARAM, LPARAM lParam)
{
LPTSTR ptszInText = (TCHAR*)lParam;
return (INT_PTR)GetLayoutOfText(ptszInText);
@@ -85,15 +85,15 @@ void RegPopupActions()
}
}
-int OnIconsChanged(WPARAM wParam, LPARAM lParam)
+int OnIconsChanged(WPARAM, LPARAM)
{
- hPopupIcon = Skin_GetIcon("ckl_popup_icon");
- hCopyIcon = Skin_GetIcon("ckl_copy_icon");
+ hPopupIcon = IcoLib_GetIcon("ckl_popup_icon");
+ hCopyIcon = IcoLib_GetIcon("ckl_copy_icon");
RegPopupActions();
return 0;
}
-int ModulesLoaded(WPARAM wParam, LPARAM lParam)
+int ModulesLoaded(WPARAM, LPARAM)
{
LPCTSTR ptszEmptySting = _T("");
@@ -138,7 +138,7 @@ int ModulesLoaded(WPARAM wParam, LPARAM lParam)
return 0;
}
-int OnOptionsInitialise(WPARAM wParam, LPARAM lParam)
+int OnOptionsInitialise(WPARAM wParam, LPARAM)
{
OPTIONSDIALOGPAGE odp = { 0 };
odp.hInstance = hInst;