diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2016-02-25 15:49:58 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2016-02-25 15:49:58 +0000 |
commit | 048e1f421b84529aa2b29da09027ce997573afd7 (patch) | |
tree | 230bde579a4622d6def27b4961639d3377f9cca3 /plugins/Dropbox/src/dropbox.h | |
parent | 8bf03133314064ec052873b01647c79b69a5b681 (diff) |
Dropbox: reworked files sending
git-svn-id: http://svn.miranda-ng.org/main/trunk@16337 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dropbox/src/dropbox.h')
-rw-r--r-- | plugins/Dropbox/src/dropbox.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/Dropbox/src/dropbox.h b/plugins/Dropbox/src/dropbox.h index 2331ed1922..5ad332b168 100644 --- a/plugins/Dropbox/src/dropbox.h +++ b/plugins/Dropbox/src/dropbox.h @@ -84,10 +84,10 @@ private: static void __cdecl RequestAccountInfo(void*);
// transfers
- void UploadFile(const char *path, const char *data, size_t size);
+ char* UploadFile(const char *data, size_t size, char *path);
void StartUploadSession(const char *data, size_t size, char *sessionId);
- void AppendToUploadSession(const char *data, size_t size, const char *sessionId, size_t &offset);
- void FinishUploadSession(const char *data, size_t size, const char *sessionId, size_t offset, const char *path);
+ void AppendToUploadSession(const char *data, size_t size, const char *sessionId, size_t offset);
+ char* FinishUploadSession(const char *data, size_t size, const char *sessionId, size_t offset, char *path);
void CreateFolder(const char *encodedPath);
@@ -110,8 +110,8 @@ private: static void DisableSrmmButton(MCONTACT hContact);
// utils
- static CMStringA PreparePath(const char *path);
- static CMStringA PreparePath(const TCHAR *path);
+ static char* PreparePath(const char *oldPath, char *newPath);
+ static char* PreparePath(const TCHAR *oldPath, char *newPath);
static char* HttpStatusToText(HTTP_STATUS status);
static void HandleJsonResponseError(NETLIBHTTPREQUEST *response);
|