From 1a9f50fcbc79413ccc669349b682aa6a6ebb398b Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sat, 13 Oct 2012 18:34:25 +0000 Subject: Twitter: folders restructurization git-svn-id: http://svn.miranda-ng.org/main/trunk@1909 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Twitter/src/stubs.cpp | 139 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 139 insertions(+) create mode 100644 protocols/Twitter/src/stubs.cpp (limited to 'protocols/Twitter/src/stubs.cpp') diff --git a/protocols/Twitter/src/stubs.cpp b/protocols/Twitter/src/stubs.cpp new file mode 100644 index 0000000000..472138abe3 --- /dev/null +++ b/protocols/Twitter/src/stubs.cpp @@ -0,0 +1,139 @@ +/* +Copyright © 2009 Jim Porter + +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 . +*/ + +#include "proto.h" + +HANDLE TwitterProto::AddToListByEvent(int flags,int iContact,HANDLE hDbEvent) +{ + return NULL; +} + +int TwitterProto::Authorize(HANDLE hDbEvent) +{ + return 1; +} + +int TwitterProto::AuthDeny(HANDLE hDbEvent,const TCHAR *reason) +{ + return 1; +} + +int TwitterProto::AuthRecv(HANDLE hContact,PROTORECVEVENT *) +{ + return 1; +} + +int TwitterProto::AuthRequest(HANDLE hContact,const TCHAR *message) +{ + return 1; +} + +HANDLE TwitterProto::ChangeInfo(int type,void *info_data) +{ + MessageBoxA(0,"ChangeInfo","",0); + return NULL; +} + +HANDLE TwitterProto::FileAllow(HANDLE hContact,HANDLE hTransfer,const TCHAR *path) +{ + return NULL; +} + +int TwitterProto::FileCancel(HANDLE hContact,HANDLE hTransfer) +{ + return 1; +} + +int TwitterProto::FileDeny(HANDLE hContact,HANDLE hTransfer,const TCHAR *reason) +{ + return 1; +} + +int TwitterProto::FileResume(HANDLE hTransfer,int *action,const TCHAR **filename) +{ + return 1; +} + +HANDLE TwitterProto::SearchByName(const TCHAR *nick,const TCHAR *first_name, const TCHAR *last_name) +{ + return NULL; +} + +HWND TwitterProto::SearchAdvanced(HWND owner) +{ + return NULL; +} + +HWND TwitterProto::CreateExtendedSearchUI(HWND owner) +{ + return NULL; +} + +int TwitterProto::RecvContacts(HANDLE hContact,PROTORECVEVENT *) +{ + return 1; +} + +int TwitterProto::RecvFile(HANDLE hContact,PROTORECVFILET *) +{ + return 1; +} + +int TwitterProto::RecvUrl(HANDLE hContact,PROTORECVEVENT *) +{ + return 1; +} + +int TwitterProto::SendContacts(HANDLE hContact,int flags,int nContacts,HANDLE *hContactsList) +{ + return 1; +} + +HANDLE TwitterProto::SendFile(HANDLE hContact,const TCHAR *desc, TCHAR **files) +{ + return NULL; +} + +int TwitterProto::SendUrl(HANDLE hContact,int flags,const char *url) +{ + return 1; +} + +int TwitterProto::SetApparentMode(HANDLE hContact,int mode) +{ + return 1; +} + +int TwitterProto::RecvAwayMsg(HANDLE hContact,int mode,PROTORECVEVENT *evt) +{ + return 1; +} + +int TwitterProto::SendAwayMsg(HANDLE hContact,HANDLE hProcess,const char *msg) +{ + return 1; +} + +int TwitterProto::SetAwayMsg(int status,const TCHAR *msg) +{ + return 1; +} + +int TwitterProto::UserIsTyping(HANDLE hContact,int type) +{ + return 1; +} \ No newline at end of file -- cgit v1.2.3