diff options
author | George Hazan <ghazan@miranda.im> | 2017-03-24 18:44:27 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-03-24 18:44:27 +0300 |
commit | 6ce1301c80786203fcfc2fbc46bbfae73842b6ec (patch) | |
tree | 8f688d42bdd8946d7b115bc77979a8724b4bbbc1 /plugins | |
parent | 16488b948b0fe6e473de6afaa9038a766286f26c (diff) |
hmm... another not-so-very-useful service
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Nudge/src/shake.cpp | 3 | ||||
-rw-r--r-- | plugins/Scriver/src/msgs.cpp | 9 | ||||
-rw-r--r-- | plugins/TabSRMM/src/msgs.cpp | 12 |
3 files changed, 0 insertions, 24 deletions
diff --git a/plugins/Nudge/src/shake.cpp b/plugins/Nudge/src/shake.cpp index 7ecb6d0463..2bce93d0e1 100644 --- a/plugins/Nudge/src/shake.cpp +++ b/plugins/Nudge/src/shake.cpp @@ -50,10 +50,7 @@ INT_PTR ShakeChat(WPARAM wParam, LPARAM) mwid.cbSize = sizeof(MessageWindowInputData);
mwid.hContact = mwd.hContact;
mwid.uFlags = MSG_WINDOW_UFLAG_MSG_BOTH;
-
-
CallService(MS_MSG_GETWINDOWDATA, (WPARAM)&mwid, (LPARAM)&mwd);
- //CallService(MS_MSG_GETWINDOWCLASS,(WPARAM)srmmName,(LPARAM)100 );
HWND parent;
HWND hWnd = mwd.hwndWindow;
diff --git a/plugins/Scriver/src/msgs.cpp b/plugins/Scriver/src/msgs.cpp index 42e3b6ee34..b8426c8924 100644 --- a/plugins/Scriver/src/msgs.cpp +++ b/plugins/Scriver/src/msgs.cpp @@ -283,14 +283,6 @@ static void RestoreUnreadMessageAlerts(void) }
}
-static INT_PTR GetWindowClass(WPARAM wParam, LPARAM lParam)
-{
- char *szBuf = (char*)wParam;
- size_t size = (size_t)lParam;
- mir_snprintf(szBuf, size, "Scriver");
- return 0;
-}
-
static INT_PTR GetWindowData(WPARAM wParam, LPARAM lParam)
{
MessageWindowInputData *mwid = (MessageWindowInputData*)wParam;
@@ -646,7 +638,6 @@ int OnLoadModule(void) CreateServiceFunction(MS_MSG_SENDMESSAGE, SendMessageCommand);
CreateServiceFunction(MS_MSG_SENDMESSAGEW, SendMessageCommandW);
- CreateServiceFunction(MS_MSG_GETWINDOWCLASS, GetWindowClass);
CreateServiceFunction(MS_MSG_GETWINDOWDATA, GetWindowData);
CreateServiceFunction(MS_MSG_SETSTATUSTEXT, SetStatusText);
CreateServiceFunction("SRMsg/ReadMessage", ReadMessageCommand);
diff --git a/plugins/TabSRMM/src/msgs.cpp b/plugins/TabSRMM/src/msgs.cpp index 62e3702bd0..f81dfb194b 100644 --- a/plugins/TabSRMM/src/msgs.cpp +++ b/plugins/TabSRMM/src/msgs.cpp @@ -60,17 +60,6 @@ int SmileyAddOptionsChanged(WPARAM, LPARAM) }
/////////////////////////////////////////////////////////////////////////////////////////
-// Message API 0.0.0.3 services
-
-static INT_PTR GetWindowClass(WPARAM wParam, LPARAM lParam)
-{
- char *szBuf = (char*)wParam;
- size_t size = (size_t)lParam;
- mir_snprintf(szBuf, size, "tabSRMM");
- return 0;
-}
-
-/////////////////////////////////////////////////////////////////////////////////////////
// wparam = (MessageWindowInputData*)
// lparam = (MessageWindowData*)
// returns 0 on success and returns non-zero (1) on error or if no window data exists for that hcontact
@@ -1129,7 +1118,6 @@ static void TSAPI InitAPI() {
CreateServiceFunction(MS_MSG_SENDMESSAGE, SendMessageCommand);
CreateServiceFunction(MS_MSG_SENDMESSAGEW, SendMessageCommand_W);
- CreateServiceFunction(MS_MSG_GETWINDOWCLASS, GetWindowClass);
CreateServiceFunction(MS_MSG_GETWINDOWDATA, GetWindowData);
CreateServiceFunction(MS_MSG_SETSTATUSTEXT, SetStatusText);
|