diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2014-02-27 09:59:53 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2014-02-27 09:59:53 +0000 |
commit | 2e51a3103f26ca7a9fec8f96baf56f4d51fd0112 (patch) | |
tree | 239feacbe6263d41b7bb021f4e226e2687775904 /plugins/Dropbox/src/dropbox.h | |
parent | 9b5210ac07c6e4e00af25eb90fdf653da791299a (diff) |
Dropbox:
- added error notifications
- fixed menu items behavior
git-svn-id: http://svn.miranda-ng.org/main/trunk@8283 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dropbox/src/dropbox.h')
-rw-r--r-- | plugins/Dropbox/src/dropbox.h | 14 |
1 files changed, 8 insertions, 6 deletions
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);
|