diff options
author | Alexander Tkachev | 2016-06-07 16:27:04 +0600 |
---|---|---|
committer | Alexander Tkachev | 2016-08-24 16:07:55 +0600 |
commit | bf71ba9a1c98b39647edb248e913322ee38a0af5 (patch) | |
tree | 0451db33ffbe35dab7428a13b0db0dc6ba02c95b /backends/cloud/googledrive/googledrivecreatedirectoryrequest.h | |
parent | c968f0143c5e36cc9fc429832622eb180732caf8 (diff) | |
download | scummvm-rg350-bf71ba9a1c98b39647edb248e913322ee38a0af5.tar.gz scummvm-rg350-bf71ba9a1c98b39647edb248e913322ee38a0af5.tar.bz2 scummvm-rg350-bf71ba9a1c98b39647edb248e913322ee38a0af5.zip |
CLOUD: Update GoogleDriveCreateDirectoryRequest
Now it also creates the "base" ScummVM directory if there is no such
directory yet. This way SavesSyncRequest works fine when no "ScummVM" or
"ScummVM/Saves" folder exist in the Google Drive.
Diffstat (limited to 'backends/cloud/googledrive/googledrivecreatedirectoryrequest.h')
-rw-r--r-- | backends/cloud/googledrive/googledrivecreatedirectoryrequest.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/backends/cloud/googledrive/googledrivecreatedirectoryrequest.h b/backends/cloud/googledrive/googledrivecreatedirectoryrequest.h index 6c5ccddf6c..ede84277de 100644 --- a/backends/cloud/googledrive/googledrivecreatedirectoryrequest.h +++ b/backends/cloud/googledrive/googledrivecreatedirectoryrequest.h @@ -41,6 +41,9 @@ class GoogleDriveCreateDirectoryRequest: public Networking::Request { bool _ignoreCallback; void start(); + void createdBaseDirectoryCallback(Storage::BoolResponse response); + void createdBaseDirectoryErrorCallback(Networking::ErrorResponse error); + void resolveId(); void idResolvedCallback(Storage::UploadResponse response); void idResolveFailedCallback(Networking::ErrorResponse error); void createdDirectoryCallback(Storage::BoolResponse response); |