diff options
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
|