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/Sametime | |
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/Sametime')
-rw-r--r-- | protocols/Sametime/src/sametime_proto.cpp | 70 | ||||
-rw-r--r-- | protocols/Sametime/src/sametime_proto.h | 13 |
2 files changed, 0 insertions, 83 deletions
diff --git a/protocols/Sametime/src/sametime_proto.cpp b/protocols/Sametime/src/sametime_proto.cpp index f5e2352e9e..9ee51096e7 100644 --- a/protocols/Sametime/src/sametime_proto.cpp +++ b/protocols/Sametime/src/sametime_proto.cpp @@ -89,36 +89,6 @@ MCONTACT CSametimeProto::AddToList(int flags, PROTOSEARCHRESULT* psr) return AddSearchedUser(sr, flags & PALF_TEMPORARY);
}
-MCONTACT CSametimeProto::AddToListByEvent(int flags, int iContact, MEVENT hDbEvent)
-{
- debugLog(_T("CSametimeProto::AddToListByEvent() flags=[%d]"), flags);
- return 0;
-}
-
-int CSametimeProto::Authorize(MEVENT hDbEvent)
-{
- debugLog(_T("CSametimeProto::Authorize()"));
- return 1;
-}
-
-int CSametimeProto::AuthDeny(MEVENT hDbEvent, const PROTOCHAR* szReason)
-{
- debugLog(_T("CSametimeProto::AuthDeny()"));
- return 1;
-}
-
-int CSametimeProto::AuthRecv(MCONTACT hContact, PROTORECVEVENT*)
-{
- debugLog(_T("CSametimeProto::AuthRecv()"));
- return 1;
-}
-
-int CSametimeProto::AuthRequest(MCONTACT hContact, const PROTOCHAR* szMessage)
-{
- debugLog(_T("CSametimeProto::AuthRequest()"));
- return 1;
-}
-
HANDLE CSametimeProto::FileAllow(MCONTACT hContact, HANDLE hTransfer, const PROTOCHAR* szPath)
{
debugLog(_T("CSametimeProto::FileAllow() hContact=[%x], szPath=[%s]"), hContact, szPath);
@@ -210,16 +180,6 @@ HANDLE CSametimeProto::SearchBasic(const PROTOCHAR* id) ///TODO - add timeout (like at GGPROTO::searchthread)
}
-HANDLE CSametimeProto::SearchByEmail(const PROTOCHAR* email)
-{
- return 0;
-}
-
-HANDLE CSametimeProto::SearchByName(const PROTOCHAR* nick, const PROTOCHAR* firstName, const PROTOCHAR* lastName)
-{
- return 0;
-}
-
HWND CSametimeProto::SearchAdvanced(HWND owner)
{
TCHAR buf[512];
@@ -240,12 +200,6 @@ HWND CSametimeProto::CreateExtendedSearchUI(HWND owner) }
-int CSametimeProto::RecvContacts(MCONTACT hContact, PROTORECVEVENT*)
-{
- debugLog(_T("CSametimeProto::RecvContacts()"));
- return 1;
-}
-
int CSametimeProto::RecvFile(MCONTACT hContact, PROTOFILEEVENT* pre)
{
debugLog(_T("CSametimeProto::RecvFile() hContact=[%x]"), hContact);
@@ -266,18 +220,6 @@ int CSametimeProto::RecvMsg(MCONTACT hContact, PROTORECVEVENT* pre) return Proto_RecvMessage(hContact, pre);
}
-int CSametimeProto::RecvUrl(MCONTACT hContact, PROTORECVEVENT*)
-{
- debugLog(_T("CSametimeProto::RecvUrl()"));
- return 1;
-}
-
-int CSametimeProto::SendContacts(MCONTACT hContact, int flags, int nContacts, MCONTACT* hContactsList)
-{
- debugLog(_T("CSametimeProto::SendContacts() flags=[%d], nContacts=[%d]"), flags, nContacts);
- return 1;
-}
-
HANDLE CSametimeProto::SendFile(MCONTACT hContact, const PROTOCHAR* szDescription, PROTOCHAR** ppszFiles)
{
debugLog(_T("CSametimeProto::SendFile() hContact=[%x]"), hContact);
@@ -330,18 +272,6 @@ int CSametimeProto::SendMsg(MCONTACT hContact, int flags, const char* msg) return ret;
}
-int CSametimeProto::SendUrl(MCONTACT hContact, int flags, const char* url)
-{
- debugLog(_T("CSametimeProto::SendUrl()"));
- return 1;
-}
-
-int CSametimeProto::SetApparentMode(MCONTACT hContact, int mode)
-{
- debugLog(_T("CSametimeProto::SetApparentMode() mode=[%d]"), mode);
- return 1;
-}
-
int CSametimeProto::SetStatus(int iNewStatus)
{
debugLog(_T("CSametimeProto::SetStatus() m_iStatus=[%d], m_iDesiredStatus=[%d], iNewStatus=[%d]"), m_iStatus, m_iDesiredStatus, iNewStatus);
diff --git a/protocols/Sametime/src/sametime_proto.h b/protocols/Sametime/src/sametime_proto.h index c56e291c84..7a68ae3e33 100644 --- a/protocols/Sametime/src/sametime_proto.h +++ b/protocols/Sametime/src/sametime_proto.h @@ -16,12 +16,6 @@ struct CSametimeProto : public PROTO<CSametimeProto> virtual MCONTACT __cdecl AddToList(int flags, PROTOSEARCHRESULT* psr);
- virtual MCONTACT __cdecl AddToListByEvent(int flags, int iContact, MEVENT hDbEvent);
-
- virtual int __cdecl Authorize(MEVENT hDbEvent);
- virtual int __cdecl AuthDeny(MEVENT hDbEvent, const PROTOCHAR* szReason);
- virtual int __cdecl AuthRecv(MCONTACT hContact, PROTORECVEVENT*);
- virtual int __cdecl AuthRequest(MCONTACT hContact, const PROTOCHAR* szMessage);
virtual HANDLE __cdecl FileAllow(MCONTACT hContact, HANDLE hTransfer, const PROTOCHAR* szPath);
virtual int __cdecl FileCancel(MCONTACT hContact, HANDLE hTransfer);
@@ -32,22 +26,15 @@ struct CSametimeProto : public PROTO<CSametimeProto> virtual int __cdecl GetInfo(MCONTACT hContact, int infoType);
virtual HANDLE __cdecl SearchBasic(const PROTOCHAR* id);
- virtual HANDLE __cdecl SearchByEmail(const PROTOCHAR* email);
- virtual HANDLE __cdecl SearchByName(const PROTOCHAR* nick, const PROTOCHAR* firstName, const PROTOCHAR* lastName);
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, PROTOFILEEVENT*);
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 PROTOCHAR* szDescription, PROTOCHAR** 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);
|