From c014bd45e4761fd8da881e4f726022fc918624b2 Mon Sep 17 00:00:00 2001 From: Piotr Piastucki Date: Wed, 27 May 2015 01:13:45 +0000 Subject: Implemented fetching Skype Token for Cloud storage API. Fixed error handling. Implemented handling of RichText/UriObject git-svn-id: http://svn.miranda-ng.org/main/trunk@13855 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/MSN/src/msn_proto.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols/MSN/src/msn_proto.h') diff --git a/protocols/MSN/src/msn_proto.h b/protocols/MSN/src/msn_proto.h index f9d238475f..271f6b6100 100644 --- a/protocols/MSN/src/msn_proto.h +++ b/protocols/MSN/src/msn_proto.h @@ -40,12 +40,10 @@ struct CMsnProto : public PROTO virtual int __cdecl AuthRecv(MCONTACT hContact, PROTORECVEVENT*); virtual int __cdecl AuthRequest(MCONTACT hContact, const TCHAR* szMessage); -#ifdef OBSOLETE 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); -#endif virtual DWORD_PTR __cdecl GetCaps(int type, MCONTACT hContact = NULL); @@ -118,7 +116,7 @@ struct CMsnProto : public PROTO char *authContactToken; char *authStorageToken; char *hotSecretToken, *hotAuthToken; - char *authUser, *authUIC, *authCookies, *authSSLToken, *authAccessToken; + char *authUser, *authUIC, *authCookies, *authSSLToken, *authAccessToken, *authRefreshToken, *authSkypeComToken, *authSkypeToken; int authMethod; time_t authTokenExpiretime; bool bSentBND; @@ -222,6 +220,7 @@ struct CMsnProto : public PROTO void MSN_ProcessRemove(char* buf, size_t len); void MSN_ProcessAdd(char* buf, size_t len); void MSN_ProcessYFind(char* buf, size_t len); + void MSN_ProcessURIObject(MCONTACT hContact, ezxml_t xmli); void MSN_CustomSmiley(const char* msgBody, char* email, char* nick, int iSmileyType); void MSN_InviteMessage(ThreadData* info, char* msgBody, char* email, char* nick); void MSN_SetMirVer(MCONTACT hContact, DWORD dwValue, bool always); @@ -498,6 +497,7 @@ struct CMsnProto : public PROTO CMStringA HotmailLogin(const char* url); void FreeAuthTokens(void); int GetMyNetID(void); + const char *GetSkypeToken(bool bAsAuthHeader); LPCSTR GetMyUsername(int netId); ///////////////////////////////////////////////////////////////////////////////////////// -- cgit v1.2.3