summaryrefslogtreecommitdiff
path: root/protocols/Dummy/src/dummy_proto.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-03-22 23:05:16 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-03-22 23:05:16 +0000
commit12d71cc476065d21cc53321cf5ea57e29b4cc124 (patch)
tree4bcdf851b81c80012c8382abd37bfd22311150f3 /protocols/Dummy/src/dummy_proto.cpp
parent23e051890486c96ce377b6578a028b9f8787c338 (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/Dummy/src/dummy_proto.cpp')
-rw-r--r--protocols/Dummy/src/dummy_proto.cpp145
1 files changed, 0 insertions, 145 deletions
diff --git a/protocols/Dummy/src/dummy_proto.cpp b/protocols/Dummy/src/dummy_proto.cpp
index 310c450ee1..37d0e4acfe 100644
--- a/protocols/Dummy/src/dummy_proto.cpp
+++ b/protocols/Dummy/src/dummy_proto.cpp
@@ -92,16 +92,6 @@ DWORD_PTR CDummyProto::GetCaps(int type, MCONTACT hContact)
//////////////////////////////////////////////////////////////////////////////
-int CDummyProto::OnEvent(PROTOEVENTTYPE event, WPARAM wParam, LPARAM lParam)
-{
- return 1;
-}
-
-int CDummyProto::RecvMsg(MCONTACT hContact, PROTORECVEVENT *pre)
-{
- return 0;
-}
-
int CDummyProto::SendMsg(MCONTACT hContact, int flags, const char *msg)
{
ForkThread(&CDummyProto::SendMsgAck, (void*)hContact);
@@ -112,138 +102,3 @@ int CDummyProto::SetStatus(int iNewStatus)
{
return 0;
}
-
-HANDLE CDummyProto::SearchBasic(const PROTOCHAR* id)
-{
- return 0;
-}
-
-HANDLE CDummyProto::SearchByEmail(const PROTOCHAR* email)
-{
- return 0;
-}
-
-HANDLE CDummyProto::SearchByName(const PROTOCHAR* nick, const PROTOCHAR* firstName, const PROTOCHAR* lastName)
-{
- return 0;
-}
-
-MCONTACT CDummyProto::AddToList(int flags, PROTOSEARCHRESULT* psr)
-{
- return NULL;
-}
-
-int CDummyProto::AuthRequest(MCONTACT hContact,const PROTOCHAR *message)
-{
- return 0;
-}
-
-int CDummyProto::Authorize(MEVENT hDbEvent)
-{
- return 1;
-}
-
-int CDummyProto::AuthDeny(MEVENT hDbEvent, const PROTOCHAR *reason)
-{
- return 1;
-}
-
-int CDummyProto::UserIsTyping(MCONTACT hContact, int type)
-{
- return 1;
-}
-
-MCONTACT CDummyProto::AddToListByEvent(int flags, int iContact, MEVENT hDbEvent)
-{
- return NULL;
-}
-
-int CDummyProto::AuthRecv(MCONTACT hContact,PROTORECVEVENT *)
-{
- return 1;
-}
-
-HANDLE CDummyProto::FileAllow(MCONTACT hContact,HANDLE hTransfer,const PROTOCHAR *path)
-{
- return NULL;
-}
-
-int CDummyProto::FileCancel(MCONTACT hContact,HANDLE hTransfer)
-{
- return 1;
-}
-
-int CDummyProto::FileDeny(MCONTACT hContact,HANDLE hTransfer,const PROTOCHAR *reason)
-{
- return 1;
-}
-
-int CDummyProto::FileResume(HANDLE hTransfer,int *action,const PROTOCHAR **filename)
-{
- return 1;
-}
-
-int CDummyProto::GetInfo(MCONTACT hContact, int infoType)
-{
- return 1;
-}
-
-HWND CDummyProto::SearchAdvanced(HWND owner)
-{
- return NULL;
-}
-
-HWND CDummyProto::CreateExtendedSearchUI(HWND owner)
-{
- return NULL;
-}
-
-int CDummyProto::RecvContacts(MCONTACT hContact,PROTORECVEVENT *)
-{
- return 1;
-}
-
-int CDummyProto::RecvFile(MCONTACT hContact,PROTORECVFILET *)
-{
- return 1;
-}
-
-int CDummyProto::RecvUrl(MCONTACT hContact,PROTORECVEVENT *)
-{
- return 1;
-}
-
-int CDummyProto::SendContacts(MCONTACT hContact, int flags, int nContacts, MCONTACT *hContactsList)
-{
- return 1;
-}
-
-HANDLE CDummyProto::SendFile(MCONTACT hContact,const PROTOCHAR *desc, PROTOCHAR **files)
-{
- return NULL;
-}
-
-int CDummyProto::SendUrl(MCONTACT hContact,int flags,const char *url)
-{
- return 1;
-}
-
-int CDummyProto::SetApparentMode(MCONTACT hContact,int mode)
-{
- return 1;
-}
-
-int CDummyProto::RecvAwayMsg(MCONTACT hContact,int mode,PROTORECVEVENT *evt)
-{
- return 1;
-}
-
-HANDLE CDummyProto::GetAwayMsg(MCONTACT hContact)
-{
- return 0;
-}
-
-int CDummyProto::SetAwayMsg(int status, const PROTOCHAR *msg)
-{
- return 0;
-}