diff options
author | aunsane <aunsane@gmail.com> | 2017-04-27 01:53:37 +0300 |
---|---|---|
committer | aunsane <aunsane@gmail.com> | 2017-04-27 01:54:12 +0300 |
commit | 7b1d58962694bd6dd1971d6eda673ddc0877f7c2 (patch) | |
tree | ab0e4abefcdfbec12bf4fe7de1b5386cf1ac9378 /plugins/CloudFile/src/Services/microsoft_service.h | |
parent | f27fbe387bede98cf64d7fd7fb3dcff1ba60279d (diff) |
CloudFile: fix uploading small files for GDrive and OneDrive
Diffstat (limited to 'plugins/CloudFile/src/Services/microsoft_service.h')
-rw-r--r-- | plugins/CloudFile/src/Services/microsoft_service.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/CloudFile/src/Services/microsoft_service.h b/plugins/CloudFile/src/Services/microsoft_service.h index 8c3c30e035..3b49e1f6f3 100644 --- a/plugins/CloudFile/src/Services/microsoft_service.h +++ b/plugins/CloudFile/src/Services/microsoft_service.h @@ -8,6 +8,7 @@ private: void HandleJsonError(JSONNode &node); + void UploadFile(const char *parentId, const char *name, const char *data, size_t size, char *fileId); void CreateUploadSession(char *uploadUri, const char *name, const char *parentId = NULL); void UploadFileChunk(const char *uploadUri, const char *chunk, size_t chunkSize, uint64_t offset, uint64_t fileSize, char *itemId); void CreateFolder(const char *path, char *itemId); |