diff options
author | George Hazan <george.hazan@gmail.com> | 2013-09-25 13:40:12 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-09-25 13:40:12 +0000 |
commit | e4b8e9d9704a986c71565ef723cc8de208d97740 (patch) | |
tree | bfc6ec6cad97649f277a2d3829bbea2ebab26055 /include | |
parent | 3be1f8e5705a997d94a12a5165a32cfcb867424f (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 'include')
-rw-r--r-- | include/m_protoint.h | 1 | ||||
-rw-r--r-- | include/m_protosvc.h | 13 |
2 files changed, 0 insertions, 14 deletions
diff --git a/include/m_protoint.h b/include/m_protoint.h index 69aa6339b4..769b4ff027 100644 --- a/include/m_protoint.h +++ b/include/m_protoint.h @@ -172,7 +172,6 @@ struct PROTO_INTERFACE : public MZeroedObject virtual HANDLE __cdecl GetAwayMsg(HANDLE hContact) = 0;
virtual int __cdecl RecvAwayMsg(HANDLE hContact, int mode, PROTORECVEVENT* evt) = 0;
- virtual int __cdecl SendAwayMsg(HANDLE hContact, HANDLE hProcess, const char* msg) = 0;
virtual int __cdecl SetAwayMsg(int iStatus, const PROTOCHAR* msg) = 0;
virtual int __cdecl UserIsTyping(HANDLE hContact, int type) = 0;
diff --git a/include/m_protosvc.h b/include/m_protosvc.h index 304d9e4f9f..8d27a0e859 100644 --- a/include/m_protosvc.h +++ b/include/m_protosvc.h @@ -250,8 +250,6 @@ will pick this up and everything will be good. //Returns 0 on success, nonzero on failure
//Note that this service will not be available unless PF1_MODEMSGSEND is set
//and PF1_INDIVMODEMSG is *not* set.
-//If PF1_INDIVMODEMSG is set, then see PSS_AWAYMSG for details of
-//the operation of away messages
//Protocol modules must support szMessage = NULL. It may either mean to use an
//empty message, or (preferably) to not reply at all to any requests
#define PS_SETAWAYMSG "/SetAwayMsg"
@@ -617,17 +615,6 @@ typedef struct { //type = ACKTYPE_AWAYMSG, result = success/failure, lParam = (const char*)szMessage
#define PSS_GETAWAYMSG "/GetAwayMsg"
-//Sends an away message reply to a user
-//wParam = (WPARAM)(HANDLE)hProcess (of ack)
-//lParam = (LPARAM)(const char*)szMessage
-//Returns 0 on success, nonzero on failure
-//This function must only be used if the protocol has PF1_MODEMSGSEND and
-//PF1_INDIVMODEMSG set. Otherwise, PS_SETAWAYMESSAGE should be used.
-//This function must only be called in response to an ack that a user has
-//requested our away message. The ack is sent as:
-//type = ACKTYPE_AWAYMSG, result = ACKRESULT_SENTREQUEST, lParam = 0
-#define PSS_AWAYMSG "/SendAwayMsg"
-
//Allows a file transfer to begin
//wParam = (WPARAM)(HANDLE)hTransfer
//lParam = (LPARAM)(const TCHAR*)szPath
|