diff options
author | Alexander Tkachev | 2016-05-23 12:21:45 +0600 |
---|---|---|
committer | Alexander Tkachev | 2016-08-24 16:07:55 +0600 |
commit | 735db74b900d1e0a0654ca03983cd91cea36f41e (patch) | |
tree | 05d851451ca39bf493ebe6d3e452aa4b6acefd85 /backends/cloud/storage.h | |
parent | a439bd4c33e6f8a47a856d7cb4a4db7c540a85ab (diff) | |
download | scummvm-rg350-735db74b900d1e0a0654ca03983cd91cea36f41e.tar.gz scummvm-rg350-735db74b900d1e0a0654ca03983cd91cea36f41e.tar.bz2 scummvm-rg350-735db74b900d1e0a0654ca03983cd91cea36f41e.zip |
CLOUD: Add DropboxStorage::listDirectory sketch
It doesn't support any "has_more", doesn't call user's callback and just
prints JSON instead of parsing in into an array of files.
I believe it would become DropboxListDirectoryRequest in the next
commit.
Diffstat (limited to 'backends/cloud/storage.h')
-rw-r--r-- | backends/cloud/storage.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/cloud/storage.h b/backends/cloud/storage.h index a6b6c48fbe..1435be8329 100644 --- a/backends/cloud/storage.h +++ b/backends/cloud/storage.h @@ -59,7 +59,7 @@ public: /** Public Cloud API comes down there. */ /** Returns Common::Array<StorageFile>. */ - virtual void listDirectory(Common::String path, FileArrayCallback callback) = 0; + virtual void listDirectory(Common::String path, FileArrayCallback callback, bool recursive = false) = 0; /** Calls the callback when finished. */ virtual void upload(Common::String path, Common::ReadStream* contents, BoolCallback callback) = 0; |