diff options
| author | George Hazan <george.hazan@gmail.com> | 2015-03-22 23:05:16 +0000 | 
|---|---|---|
| committer | George Hazan <george.hazan@gmail.com> | 2015-03-22 23:05:16 +0000 | 
| commit | 12d71cc476065d21cc53321cf5ea57e29b4cc124 (patch) | |
| tree | 4bcdf851b81c80012c8382abd37bfd22311150f3 /protocols/JabberG/src | |
| parent | 23e051890486c96ce377b6578a028b9f8787c338 (diff) | |
- PROTO_INTERFACE got the default implementation;
- all unneeded stubs removed from all protocols
git-svn-id: http://svn.miranda-ng.org/main/trunk@12481 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src')
| -rw-r--r-- | protocols/JabberG/src/jabber_proto.cpp | 56 | ||||
| -rw-r--r-- | protocols/JabberG/src/jabber_proto.h | 7 | 
2 files changed, 0 insertions, 63 deletions
diff --git a/protocols/JabberG/src/jabber_proto.cpp b/protocols/JabberG/src/jabber_proto.cpp index 271c51bed6..e9652107d4 100644 --- a/protocols/JabberG/src/jabber_proto.cpp +++ b/protocols/JabberG/src/jabber_proto.cpp @@ -467,22 +467,6 @@ int CJabberProto::AuthDeny(MEVENT hDbEvent, const TCHAR*)  }
  ////////////////////////////////////////////////////////////////////////////////////////
 -// PSR_AUTH
 -
 -int __cdecl CJabberProto::AuthRecv(MCONTACT, PROTORECVEVENT*)
 -{
 -	return 1;
 -}
 -
 -////////////////////////////////////////////////////////////////////////////////////////
 -// PSS_AUTHREQUEST
 -
 -int __cdecl CJabberProto::AuthRequest(MCONTACT, const TCHAR*)
 -{
 -	return 1;
 -}
 -
 -////////////////////////////////////////////////////////////////////////////////////////
  // JabberFileAllow - starts a file transfer
  HANDLE __cdecl CJabberProto::FileAllow(MCONTACT /*hContact*/, HANDLE hTransfer, const TCHAR *szPath)
 @@ -821,22 +805,6 @@ HANDLE __cdecl CJabberProto::SearchByName(const TCHAR *nick, const TCHAR *firstN  }
  ////////////////////////////////////////////////////////////////////////////////////////
 -// RecvContacts
 -
 -int __cdecl CJabberProto::RecvContacts(MCONTACT, PROTORECVEVENT*)
 -{
 -	return 1;
 -}
 -
 -////////////////////////////////////////////////////////////////////////////////////////
 -// RecvFile
 -
 -int __cdecl CJabberProto::RecvFile(MCONTACT hContact, PROTORECVFILET *evt)
 -{
 -	return Proto_RecvFile(hContact, evt);
 -}
 -
 -////////////////////////////////////////////////////////////////////////////////////////
  // RecvMsg
  int __cdecl CJabberProto::RecvMsg(MCONTACT hContact, PROTORECVEVENT *evt)
 @@ -849,14 +817,6 @@ int __cdecl CJabberProto::RecvMsg(MCONTACT hContact, PROTORECVEVENT *evt)  }
  ////////////////////////////////////////////////////////////////////////////////////////
 -// RecvUrl
 -
 -int __cdecl CJabberProto::RecvUrl(MCONTACT, PROTORECVEVENT*)
 -{
 -	return 1;
 -}
 -
 -////////////////////////////////////////////////////////////////////////////////////////
  // SendContacts
  int __cdecl CJabberProto::SendContacts(MCONTACT hContact, int, int nContacts, MCONTACT *hContactsList)
 @@ -1099,14 +1059,6 @@ int __cdecl CJabberProto::SendMsg(MCONTACT hContact, int flags, const char* pszS  }
  ////////////////////////////////////////////////////////////////////////////////////////
 -// SendUrl
 -
 -int __cdecl CJabberProto::SendUrl(MCONTACT, int /*flags*/, const char* /*url*/)
 -{
 -	return 1;
 -}
 -
 -////////////////////////////////////////////////////////////////////////////////////////
  // JabberSetApparentMode - sets the visibility status
  int __cdecl CJabberProto::SetApparentMode(MCONTACT hContact, int mode)
 @@ -1247,14 +1199,6 @@ HANDLE __cdecl CJabberProto::GetAwayMsg(MCONTACT hContact)  }
  ////////////////////////////////////////////////////////////////////////////////////////
 -// PSR_AWAYMSG
 -
 -int __cdecl CJabberProto::RecvAwayMsg(MCONTACT, int /*statusMode*/, PROTORECVEVENT*)
 -{
 -	return 1;
 -}
 -
 -////////////////////////////////////////////////////////////////////////////////////////
  // JabberSetAwayMsg - sets the away status message
  int __cdecl CJabberProto::SetAwayMsg(int status, const TCHAR *msg)
 diff --git a/protocols/JabberG/src/jabber_proto.h b/protocols/JabberG/src/jabber_proto.h index 81e50ade07..8c7ce2dc03 100644 --- a/protocols/JabberG/src/jabber_proto.h +++ b/protocols/JabberG/src/jabber_proto.h @@ -87,8 +87,6 @@ struct CJabberProto : public PROTO<CJabberProto>, public IJabberInterface  	virtual	int       __cdecl Authorize(MEVENT hDbEvent);
  	virtual	int       __cdecl AuthDeny(MEVENT hDbEvent, const TCHAR *szReason);
 -	virtual	int       __cdecl AuthRecv(MCONTACT hContact, PROTORECVEVENT*);
 -	virtual	int       __cdecl AuthRequest(MCONTACT hContact, const TCHAR *szMessage);
  	virtual	HANDLE    __cdecl FileAllow(MCONTACT hContact, HANDLE hTransfer, const TCHAR *szPath);
  	virtual	int       __cdecl FileCancel(MCONTACT hContact, HANDLE hTransfer);
 @@ -104,21 +102,16 @@ struct CJabberProto : public PROTO<CJabberProto>, public IJabberInterface  	virtual	HWND      __cdecl SearchAdvanced(HWND owner);
  	virtual	HWND      __cdecl CreateExtendedSearchUI(HWND owner);
 -	virtual	int       __cdecl RecvContacts(MCONTACT hContact, PROTORECVEVENT*);
 -	virtual	int       __cdecl RecvFile(MCONTACT hContact, PROTORECVFILET*);
  	virtual	int       __cdecl RecvMsg(MCONTACT hContact, PROTORECVEVENT*);
 -	virtual	int       __cdecl RecvUrl(MCONTACT hContact, PROTORECVEVENT*);
  	virtual	int       __cdecl SendContacts(MCONTACT hContact, int flags, int nContacts, MCONTACT *hContactsList);
  	virtual	HANDLE    __cdecl SendFile(MCONTACT hContact, const TCHAR *szDescription, TCHAR **ppszFiles);
  	virtual	int       __cdecl SendMsg(MCONTACT hContact, int flags, const char *msg);
 -	virtual	int       __cdecl SendUrl(MCONTACT hContact, int flags, const char *url);
  	virtual	int       __cdecl SetApparentMode(MCONTACT hContact, int mode);
  	virtual	int       __cdecl SetStatus(int iNewStatus);
  	virtual	HANDLE    __cdecl GetAwayMsg(MCONTACT hContact);
 -	virtual	int       __cdecl RecvAwayMsg(MCONTACT hContact, int mode, PROTORECVEVENT* evt);
  	virtual	int       __cdecl SetAwayMsg(int m_iStatus, const TCHAR *msg);
  	virtual	int       __cdecl UserIsTyping(MCONTACT hContact, int type);
  | 
