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/MRA/src/MraProto.cpp | |
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/MRA/src/MraProto.cpp')
-rw-r--r-- | protocols/MRA/src/MraProto.cpp | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/protocols/MRA/src/MraProto.cpp b/protocols/MRA/src/MraProto.cpp index 8801b90ec0..89605d5631 100644 --- a/protocols/MRA/src/MraProto.cpp +++ b/protocols/MRA/src/MraProto.cpp @@ -182,14 +182,6 @@ MCONTACT CMraProto::AddToListByEvent(int, int, MEVENT hDbEvent) }
/////////////////////////////////////////////////////////////////////////////////////////
-// Stubs
-
-int CMraProto::FileResume(HANDLE, int*, const TCHAR**) { return 1; }
-int CMraProto::RecvAwayMsg(MCONTACT, int, PROTORECVEVENT*) { return 1; }
-int CMraProto::RecvUrl(MCONTACT, PROTORECVEVENT*) { return 1; }
-int CMraProto::SendUrl(MCONTACT, int, const char*) { return 1; }
-
-/////////////////////////////////////////////////////////////////////////////////////////
int CMraProto::Authorize(MEVENT hDBEvent)
{
@@ -239,11 +231,6 @@ int CMraProto::AuthRecv(MCONTACT, PROTORECVEVENT* pre) return 0;
}
-int CMraProto::AuthRequest(MCONTACT, const TCHAR*)
-{
- return 1;
-}
-
/////////////////////////////////////////////////////////////////////////////////////////
HANDLE CMraProto::FileAllow(MCONTACT, HANDLE hTransfer, const TCHAR *szPath)
@@ -359,16 +346,6 @@ int CMraProto::RecvContacts(MCONTACT hContact, PROTORECVEVENT* pre) return 0;
}
-int CMraProto::RecvFile(MCONTACT hContact, PROTORECVFILET *pre)
-{
- return Proto_RecvFile(hContact, pre);
-}
-
-int CMraProto::RecvMsg(MCONTACT hContact, PROTORECVEVENT *pre)
-{
- return Proto_RecvMessage(hContact, pre);
-}
-
/////////////////////////////////////////////////////////////////////////////////////////
int CMraProto::SendContacts(MCONTACT hContact, int, int nContacts, MCONTACT *hContactsList)
|