diff options
author | Alexander Tkachev | 2016-05-31 16:23:25 +0600 |
---|---|---|
committer | Alexander Tkachev | 2016-08-24 16:07:55 +0600 |
commit | 3638c8348d98273da5c4e2c5bd1afa8a985a2d0c (patch) | |
tree | 0f3e1a20e5a25c051e901f318f42cb2c1251789f /backends/cloud/onedrive/onedrivestorage.h | |
parent | b39f46788a70a6c72d5ca678c79c0b53ebde9b68 (diff) | |
download | scummvm-rg350-3638c8348d98273da5c4e2c5bd1afa8a985a2d0c.tar.gz scummvm-rg350-3638c8348d98273da5c4e2c5bd1afa8a985a2d0c.tar.bz2 scummvm-rg350-3638c8348d98273da5c4e2c5bd1afa8a985a2d0c.zip |
CLOUD: Make SavesSyncRequest work with OneDrive
It actually works fine, but small Storage::savesDirectoryPath() was
added, because Dropbox's directories must start with a slash, and
OneDrive's directories must not.
Saves sync tested and it works fine with OneDrive.
Diffstat (limited to 'backends/cloud/onedrive/onedrivestorage.h')
-rw-r--r-- | backends/cloud/onedrive/onedrivestorage.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/backends/cloud/onedrive/onedrivestorage.h b/backends/cloud/onedrive/onedrivestorage.h index 0ced98cd4e..45a8dca331 100644 --- a/backends/cloud/onedrive/onedrivestorage.h +++ b/backends/cloud/onedrive/onedrivestorage.h @@ -107,6 +107,9 @@ public: /** Returns the StorageInfo struct. */ virtual Networking::Request *info(StorageInfoCallback callback, Networking::ErrorCallback errorCallback) { return nullptr; } //TODO + /** Returns storage's saves directory path with the trailing slash. */ + virtual Common::String savesDirectoryPath(); + /** Returns whether saves sync process is running. */ virtual bool isSyncing() { return false; } //TODO |