aboutsummaryrefslogtreecommitdiff
path: root/backends/cloud/storage.h
diff options
context:
space:
mode:
Diffstat (limited to 'backends/cloud/storage.h')
-rw-r--r--backends/cloud/storage.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/backends/cloud/storage.h b/backends/cloud/storage.h
index 8ae5308a1c..8009075d0c 100644
--- a/backends/cloud/storage.h
+++ b/backends/cloud/storage.h
@@ -81,6 +81,9 @@ public:
/** Calls the callback when finished. */
virtual Networking::Request *download(Common::String remotePath, Common::String localPath, BoolCallback callback) = 0;
+ /** Returns Common::Array<StorageFile> with list of files, which were not downloaded. */
+ virtual Networking::Request *downloadFolder(Common::String remotePath, Common::String localPath, FileArrayCallback callback, bool recursive = false) = 0;
+
/** Calls the callback when finished. */
virtual Networking::Request *remove(Common::String path, BoolCallback callback) = 0;