summaryrefslogtreecommitdiff
path: root/src/modules/protocols
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-09-25 13:40:12 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-09-25 13:40:12 +0000
commite4b8e9d9704a986c71565ef723cc8de208d97740 (patch)
treebfc6ec6cad97649f277a2d3829bbea2ebab26055 /src/modules/protocols
parent3be1f8e5705a997d94a12a5165a32cfcb867424f (diff)
PROTO<>::SendAwayMsg / PSS_AWAYMSG considered unused
git-svn-id: http://svn.miranda-ng.org/main/trunk@6229 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/protocols')
-rw-r--r--src/modules/protocols/protocols.cpp2
-rw-r--r--src/modules/protocols/protoint.cpp6
2 files changed, 0 insertions, 8 deletions
diff --git a/src/modules/protocols/protocols.cpp b/src/modules/protocols/protocols.cpp
index 23cda5cc42..4a61f457fe 100644
--- a/src/modules/protocols/protocols.cpp
+++ b/src/modules/protocols/protocols.cpp
@@ -486,7 +486,6 @@ INT_PTR CallProtoServiceInt(HANDLE hContact, const char *szModule, const char *s
case 29: return (INT_PTR)ppi->SetStatus(wParam);
case 30: return (INT_PTR)ppi->GetAwayMsg(hContact);
case 31: return (INT_PTR)ppi->RecvAwayMsg(hContact, wParam, (PROTORECVEVENT*)lParam);
- case 32: return (INT_PTR)ppi->SendAwayMsg(hContact, (HANDLE)wParam, (const char*)lParam);
case 33:
if (ppi->m_iVersion > 1)
return (INT_PTR)ppi->SetAwayMsg(wParam, StrConvT((char*)lParam));
@@ -678,7 +677,6 @@ int LoadProtocolsModule(void)
InsertServiceListItem(29, PS_SETSTATUS);
InsertServiceListItem(30, PSS_GETAWAYMSG);
InsertServiceListItem(31, PSR_AWAYMSG);
- InsertServiceListItem(32, PSS_AWAYMSG);
InsertServiceListItem(33, PS_SETAWAYMSG);
InsertServiceListItem(34, PSS_USERISTYPING);
InsertServiceListItem(35, PS_GETNAME);
diff --git a/src/modules/protocols/protoint.cpp b/src/modules/protocols/protoint.cpp
index 83c9d1dac5..abe590f541 100644
--- a/src/modules/protocols/protoint.cpp
+++ b/src/modules/protocols/protoint.cpp
@@ -252,12 +252,6 @@ struct DEFAULT_PROTO_INTERFACE : public PROTO_INTERFACE
return (int)ProtoCallService(m_szModuleName, PSR_AWAYMSG, 0, (LPARAM)&ccs);
}
- int __cdecl SendAwayMsg(HANDLE hContact, HANDLE hProcess, const char* msg)
- {
- CCSDATA ccs = { hContact, PSS_AWAYMSG, (WPARAM)hProcess, (LPARAM)msg };
- return (int)ProtoCallService(m_szModuleName, PSS_AWAYMSG, 0, (LPARAM)&ccs);
- }
-
int __cdecl SetAwayMsg(int iStatus, const TCHAR* msg)
{
return (int)ProtoCallService(m_szModuleName, PS_SETAWAYMSG, iStatus, (LPARAM)StrConvA(msg));