From 2e51a3103f26ca7a9fec8f96baf56f4d51fd0112 Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Thu, 27 Feb 2014 09:59:53 +0000 Subject: Dropbox: - added error notifications - fixed menu items behavior git-svn-id: http://svn.miranda-ng.org/main/trunk@8283 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Dropbox/src/dropbox.h | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'plugins/Dropbox/src/dropbox.h') diff --git a/plugins/Dropbox/src/dropbox.h b/plugins/Dropbox/src/dropbox.h index 72af0114ee..89afb8635d 100644 --- a/plugins/Dropbox/src/dropbox.h +++ b/plugins/Dropbox/src/dropbox.h @@ -66,17 +66,19 @@ private: // access token static bool HasAccessToken(); - void RequestAcceessToken(MCONTACT hContact); - void DestroyAcceessToken(MCONTACT hContact); + void RequestAcceessToken(); + void DestroyAcceessToken(); static void RequestApiAuthorizationAsync(void *arg); // transrers - void SendFileChunkedFirst(const char *data, int length, char *uploadId, int &offset); - void SendFileChunkedNext(const char *data, int length, const char *uploadId, int &offset); - void SendFileChunkedLast(const char *fileName, const char *uploadId, MCONTACT hContact); + int HandleFileTransferError(NETLIBHTTPREQUEST *response, MCONTACT hContact); - void CreateFolder(const char *folderName, MCONTACT hContact); + int SendFileChunkedFirst(const char *data, int length, char *uploadId, int &offset, MCONTACT hContact); + int SendFileChunkedNext(const char *data, int length, const char *uploadId, int &offset, MCONTACT hContact); + int SendFileChunkedLast(const char *fileName, const char *uploadId, MCONTACT hContact); + + int CreateFolder(const char *folderName, MCONTACT hContact); static void _cdecl SendFileAsync(void *arg); -- cgit v1.2.3