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