diff options
author | Alexander Tkachev | 2016-06-09 18:49:17 +0600 |
---|---|---|
committer | Alexander Tkachev | 2016-08-24 16:07:55 +0600 |
commit | e6242b0be8fc9f9abc4daf87f80675cca46df4d9 (patch) | |
tree | 9f775a11ed08c242d926c1135079e8f4ebcc05b9 /backends/cloud/cloudmanager.h | |
parent | beb168a3a5bac602a9bf1455e7fe93dda0b13a1c (diff) | |
download | scummvm-rg350-e6242b0be8fc9f9abc4daf87f80675cca46df4d9.tar.gz scummvm-rg350-e6242b0be8fc9f9abc4daf87f80675cca46df4d9.tar.bz2 scummvm-rg350-e6242b0be8fc9f9abc4daf87f80675cca46df4d9.zip |
GUI: Add Refresh button in Options Cloud tab
Commit changes CloudManager and Storages so they would automatically
refresh the fields when the could.
Diffstat (limited to 'backends/cloud/cloudmanager.h')
-rw-r--r-- | backends/cloud/cloudmanager.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/backends/cloud/cloudmanager.h b/backends/cloud/cloudmanager.h index 7ce7e925da..fd130c5ee8 100644 --- a/backends/cloud/cloudmanager.h +++ b/backends/cloud/cloudmanager.h @@ -170,6 +170,15 @@ public: */ void setStorageLastSync(uint32 index, Common::String date); + /** Returns ListDirectoryResponse with list of files. */ + Networking::Request *listDirectory(Common::String path, Storage::ListDirectoryCallback callback, Networking::ErrorCallback errorCallback, bool recursive = false); + + /** Return the StorageInfo struct. */ + Networking::Request *info(Storage::StorageInfoCallback callback, Networking::ErrorCallback errorCallback); + + /** Returns storage's saves directory path with the trailing slash. */ + Common::String savesDirectoryPath(); + /** * Starts saves syncing process in currently active storage if there is any. */ |