diff options
| author | Alexander Tkachev | 2016-06-08 13:02:49 +0600 | 
|---|---|---|
| committer | Alexander Tkachev | 2016-08-24 16:07:55 +0600 | 
| commit | f0d61084daf7292d157e451c7bfc5485757eac43 (patch) | |
| tree | d99da13cfaa971c3dc81f3977b7f018a6ea3d127 /backends/cloud/googledrive/googledrivestorage.cpp | |
| parent | 60add0df1b63dbd31b88edcabf0769eb675efab0 (diff) | |
| download | scummvm-rg350-f0d61084daf7292d157e451c7bfc5485757eac43.tar.gz scummvm-rg350-f0d61084daf7292d157e451c7bfc5485757eac43.tar.bz2 scummvm-rg350-f0d61084daf7292d157e451c7bfc5485757eac43.zip | |
CLOUD: Update downloading in Storages
Id should be used everywhere.
Diffstat (limited to 'backends/cloud/googledrive/googledrivestorage.cpp')
| -rw-r--r-- | backends/cloud/googledrive/googledrivestorage.cpp | 12 | 
1 files changed, 12 insertions, 0 deletions
| diff --git a/backends/cloud/googledrive/googledrivestorage.cpp b/backends/cloud/googledrive/googledrivestorage.cpp index 6b5c437fd7..c6e423e00d 100644 --- a/backends/cloud/googledrive/googledrivestorage.cpp +++ b/backends/cloud/googledrive/googledrivestorage.cpp @@ -263,6 +263,18 @@ Networking::Request *GoogleDriveStorage::streamFile(Common::String path, Network  	request->addHeader("Authorization: Bearer " + _token);  	return addRequest(request);  	*/ +	//TODO: resolve id +	//TODO: then call streamFileById() +	return nullptr; //TODO +} + +Networking::Request *GoogleDriveStorage::streamFileById(Common::String id, Networking::NetworkReadStreamCallback callback, Networking::ErrorCallback errorCallback) { +	return nullptr; //TODO +} + +Networking::Request *GoogleDriveStorage::download(Common::String remotePath, Common::String localPath, BoolCallback callback, Networking::ErrorCallback errorCallback) { +	//TODO: resolve id +	//TODO: then call downloadById()  	return nullptr; //TODO  } | 
