diff options
author | aunsane <aunsane@gmail.com> | 2017-05-07 02:25:29 +0300 |
---|---|---|
committer | aunsane <aunsane@gmail.com> | 2017-05-07 02:25:29 +0300 |
commit | ff6a107e5f566da2644fbfe36455467beafaeb1e (patch) | |
tree | 3d5b96794ee835c8686a74da6c418c440c91c403 /plugins/CloudFile/src/Services/google_service.h | |
parent | 453b3de91c372ee7b2661771aead6675e12fe98f (diff) |
CloudFile:
- reworked options to dupport default service
- added options to select conflict behavior
- multiple fix and refactoring
- version bump
Diffstat (limited to 'plugins/CloudFile/src/Services/google_service.h')
-rw-r--r-- | plugins/CloudFile/src/Services/google_service.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/CloudFile/src/Services/google_service.h b/plugins/CloudFile/src/Services/google_service.h index 1da21b5fef..878fa8f442 100644 --- a/plugins/CloudFile/src/Services/google_service.h +++ b/plugins/CloudFile/src/Services/google_service.h @@ -9,11 +9,11 @@ private: void HandleJsonError(JSONNode &node); - void UploadFile(const char *name, const char *data, size_t size, char *fileId); - void CreateUploadSession(char *uploadUri, const char *name); + void UploadFile(const char *parentId, const char *name, const char *data, size_t size, char *fileId); + void CreateUploadSession(const char *parentId, const char *name, char *uploadUri); void UploadFileChunk(const char *uploadUri, const char *chunk, size_t chunkSize, uint64_t offset, uint64_t fileSize, char *fileId); - void CreateFolder(const char *path); - void CreateSharedLink(const char *fileId, char *url); + void CreateFolder(const char *path, char *folderId); + void CreateSharedLink(const char *itemId, char *url); public: CGDriveService(HNETLIBUSER hConnection); |