diff options
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);
|