diff options
author | Alexander Tkachev | 2016-05-26 23:56:29 +0600 |
---|---|---|
committer | Alexander Tkachev | 2016-08-24 16:07:55 +0600 |
commit | 24007c029b53a5f4502ee1c48c5244b8cf8099ce (patch) | |
tree | 035c0a015e3ebc62e80faa2371ca46ee3345f844 /backends/cloud/onedrive/onedrivestorage.h | |
parent | 8f6bcdf55da97db98384c2a8cb9dcdf34232ac35 (diff) | |
download | scummvm-rg350-24007c029b53a5f4502ee1c48c5244b8cf8099ce.tar.gz scummvm-rg350-24007c029b53a5f4502ee1c48c5244b8cf8099ce.tar.bz2 scummvm-rg350-24007c029b53a5f4502ee1c48c5244b8cf8099ce.zip |
CLOUD: Add OneDriveStorage::download()
Doesn't work when token is invalid, though.
Diffstat (limited to 'backends/cloud/onedrive/onedrivestorage.h')
-rw-r--r-- | backends/cloud/onedrive/onedrivestorage.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/backends/cloud/onedrive/onedrivestorage.h b/backends/cloud/onedrive/onedrivestorage.h index e120691a08..391cabe02a 100644 --- a/backends/cloud/onedrive/onedrivestorage.h +++ b/backends/cloud/onedrive/onedrivestorage.h @@ -48,7 +48,7 @@ class OneDriveStorage: public Cloud::Storage { void codeFlowComplete(RequestBoolPair pair); void printJson(Networking::RequestJsonPair pair); - void printJsonTokenReceived(RequestBoolPair pair); + void fileDownloaded(RequestBoolPair pair); public: virtual ~OneDriveStorage(); @@ -75,10 +75,10 @@ public: virtual int32 upload(Common::String path, Common::ReadStream *contents, BoolCallback callback) { return -1; } //TODO /** Returns pointer to Networking::NetworkReadStream. */ - virtual Networking::NetworkReadStream *streamFile(Common::String path) { return 0; } //TODO + virtual int32 streamFile(Common::String path); /** Calls the callback when finished. */ - virtual int32 download(Common::String remotePath, Common::String localPath, BoolCallback callback) { return -1; } //TODO + virtual int32 download(Common::String remotePath, Common::String localPath, BoolCallback callback); /** Calls the callback when finished. */ virtual int32 remove(Common::String path, BoolCallback callback) { return -1; } //TODO |