diff options
author | Piotr Piastucki <leech.miranda@gmail.com> | 2015-05-27 01:13:45 +0000 |
---|---|---|
committer | Piotr Piastucki <leech.miranda@gmail.com> | 2015-05-27 01:13:45 +0000 |
commit | c014bd45e4761fd8da881e4f726022fc918624b2 (patch) | |
tree | dd48c9cfe1614748b303b37035525e706e872a34 /protocols/MSN/src/msn_proto.h | |
parent | 7101bc5c14b738fb783dfd5a7f6f7d11762cbe2a (diff) |
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
Diffstat (limited to 'protocols/MSN/src/msn_proto.h')
-rw-r--r-- | protocols/MSN/src/msn_proto.h | 6 |
1 files changed, 3 insertions, 3 deletions
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<CMsnProto> 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<CMsnProto> 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<CMsnProto> 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<CMsnProto> CMStringA HotmailLogin(const char* url);
void FreeAuthTokens(void);
int GetMyNetID(void);
+ const char *GetSkypeToken(bool bAsAuthHeader);
LPCSTR GetMyUsername(int netId);
/////////////////////////////////////////////////////////////////////////////////////////
|