summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM
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/FacebookRM
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/FacebookRM')
-rw-r--r--protocols/FacebookRM/facebook_10.vcxproj1
-rw-r--r--protocols/FacebookRM/facebook_10.vcxproj.filters3
-rw-r--r--protocols/FacebookRM/facebook_12.vcxproj1
-rw-r--r--protocols/FacebookRM/facebook_12.vcxproj.filters3
-rw-r--r--protocols/FacebookRM/src/proto.h18
-rw-r--r--protocols/FacebookRM/src/stubs.cpp103
6 files changed, 0 insertions, 129 deletions
diff --git a/protocols/FacebookRM/facebook_10.vcxproj b/protocols/FacebookRM/facebook_10.vcxproj
index 469ed2f29e..4eaf93aa95 100644
--- a/protocols/FacebookRM/facebook_10.vcxproj
+++ b/protocols/FacebookRM/facebook_10.vcxproj
@@ -190,7 +190,6 @@
<ClCompile Include="src\process.cpp" />
<ClCompile Include="src\proto.cpp" />
<ClCompile Include="src\main.cpp" />
- <ClCompile Include="src\stubs.cpp" />
<ClCompile Include="src\theme.cpp" />
<ClCompile Include="src\utils.cpp" />
</ItemGroup>
diff --git a/protocols/FacebookRM/facebook_10.vcxproj.filters b/protocols/FacebookRM/facebook_10.vcxproj.filters
index b27274028e..94f5cf0179 100644
--- a/protocols/FacebookRM/facebook_10.vcxproj.filters
+++ b/protocols/FacebookRM/facebook_10.vcxproj.filters
@@ -51,9 +51,6 @@
<ClCompile Include="src\proto.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="src\stubs.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
<ClCompile Include="src\theme.cpp">
<Filter>Source Files</Filter>
</ClCompile>
diff --git a/protocols/FacebookRM/facebook_12.vcxproj b/protocols/FacebookRM/facebook_12.vcxproj
index 541aa0c4b5..857c916868 100644
--- a/protocols/FacebookRM/facebook_12.vcxproj
+++ b/protocols/FacebookRM/facebook_12.vcxproj
@@ -193,7 +193,6 @@
<ClCompile Include="src\process.cpp" />
<ClCompile Include="src\proto.cpp" />
<ClCompile Include="src\main.cpp" />
- <ClCompile Include="src\stubs.cpp" />
<ClCompile Include="src\theme.cpp" />
<ClCompile Include="src\utils.cpp" />
</ItemGroup>
diff --git a/protocols/FacebookRM/facebook_12.vcxproj.filters b/protocols/FacebookRM/facebook_12.vcxproj.filters
index b27274028e..94f5cf0179 100644
--- a/protocols/FacebookRM/facebook_12.vcxproj.filters
+++ b/protocols/FacebookRM/facebook_12.vcxproj.filters
@@ -51,9 +51,6 @@
<ClCompile Include="src\proto.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="src\stubs.cpp">
- <Filter>Source Files</Filter>
- </ClCompile>
<ClCompile Include="src\theme.cpp">
<Filter>Source Files</Filter>
</ClCompile>
diff --git a/protocols/FacebookRM/src/proto.h b/protocols/FacebookRM/src/proto.h
index 51a9bba0ee..59b5ce751c 100644
--- a/protocols/FacebookRM/src/proto.h
+++ b/protocols/FacebookRM/src/proto.h
@@ -76,42 +76,24 @@ public:
//PROTO_INTERFACE
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);
- virtual int __cdecl FileDeny(MCONTACT hContact, HANDLE hTransfer, const PROTOCHAR* szReason);
- virtual int __cdecl FileResume(HANDLE hTransfer, int* action, const PROTOCHAR** szFilename);
-
virtual DWORD_PTR __cdecl GetCaps(int type, MCONTACT hContact = NULL);
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);
- virtual int __cdecl RecvAwayMsg(MCONTACT hContact, int mode, PROTORECVEVENT* evt);
virtual int __cdecl SetAwayMsg(int iStatus, const PROTOCHAR* msg);
virtual int __cdecl UserIsTyping(MCONTACT hContact, int type);
diff --git a/protocols/FacebookRM/src/stubs.cpp b/protocols/FacebookRM/src/stubs.cpp
deleted file mode 100644
index 21a46121d1..0000000000
--- a/protocols/FacebookRM/src/stubs.cpp
+++ /dev/null
@@ -1,103 +0,0 @@
-/*
-
-Facebook plugin for Miranda Instant Messenger
-_____________________________________________
-
-Copyright © 2009-11 Michal Zelinka, 2011-15 Robert Pösel
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see <http://www.gnu.org/licenses/>.
-
-*/
-
-#include "common.h"
-
-MCONTACT FacebookProto::AddToListByEvent(int, int, MEVENT)
-{
- return NULL;
-}
-
-int FacebookProto::AuthRecv(MCONTACT, PROTORECVEVENT *)
-{
- return 1;
-}
-
-HANDLE FacebookProto::FileAllow(MCONTACT, HANDLE, const PROTOCHAR *)
-{
- return NULL;
-}
-
-int FacebookProto::FileCancel(MCONTACT, HANDLE)
-{
- return 1;
-}
-
-int FacebookProto::FileDeny(MCONTACT, HANDLE, const PROTOCHAR *)
-{
- return 1;
-}
-
-int FacebookProto::FileResume(HANDLE, int *, const PROTOCHAR **)
-{
- return 1;
-}
-
-HWND FacebookProto::SearchAdvanced(HWND)
-{
- return NULL;
-}
-
-HWND FacebookProto::CreateExtendedSearchUI(HWND)
-{
- return NULL;
-}
-
-int FacebookProto::RecvContacts(MCONTACT, PROTORECVEVENT *)
-{
- return 1;
-}
-
-int FacebookProto::RecvFile(MCONTACT, PROTORECVFILET *)
-{
- return 1;
-}
-
-int FacebookProto::RecvUrl(MCONTACT, PROTORECVEVENT *)
-{
- return 1;
-}
-
-int FacebookProto::SendContacts(MCONTACT, int, int, MCONTACT *)
-{
- return 1;
-}
-
-HANDLE FacebookProto::SendFile(MCONTACT, const PROTOCHAR *, PROTOCHAR **)
-{
- return NULL;
-}
-
-int FacebookProto::SendUrl(MCONTACT, int, const char *)
-{
- return 1;
-}
-
-int FacebookProto::SetApparentMode(MCONTACT, int)
-{
- return 1;
-}
-
-int FacebookProto::RecvAwayMsg(MCONTACT, int, PROTORECVEVENT *)
-{
- return 1;
-}