diff options
author | Alexander Tkachev | 2016-06-01 12:08:47 +0600 |
---|---|---|
committer | Alexander Tkachev | 2016-08-24 16:07:55 +0600 |
commit | 4b3a8be0b9db448971e6095a24501c66714c484f (patch) | |
tree | f6206c441e029d361d37dd8cb9b0acb1329218cd | |
parent | 06163cb8b907e30f8463b2b9700d136c73b19a33 (diff) | |
download | scummvm-rg350-4b3a8be0b9db448971e6095a24501c66714c484f.tar.gz scummvm-rg350-4b3a8be0b9db448971e6095a24501c66714c484f.tar.bz2 scummvm-rg350-4b3a8be0b9db448971e6095a24501c66714c484f.zip |
CLOUD: Shorten Cloud API
touch() and isSyncing() are not needed.
remove() is not needed too, but it could be used in the future.
-rw-r--r-- | backends/cloud/dropbox/dropboxstorage.h | 6 | ||||
-rw-r--r-- | backends/cloud/onedrive/onedrivestorage.h | 6 | ||||
-rw-r--r-- | backends/cloud/storage.h | 6 |
3 files changed, 0 insertions, 18 deletions
diff --git a/backends/cloud/dropbox/dropboxstorage.h b/backends/cloud/dropbox/dropboxstorage.h index 2f57b052b2..2c60097701 100644 --- a/backends/cloud/dropbox/dropboxstorage.h +++ b/backends/cloud/dropbox/dropboxstorage.h @@ -82,9 +82,6 @@ public: /** Calls the callback when finished. */ virtual Networking::Request *createDirectory(Common::String path, BoolCallback callback, Networking::ErrorCallback errorCallback); - /** Calls the callback when finished. */ - virtual Networking::Request *touch(Common::String path, BoolCallback callback, Networking::ErrorCallback errorCallback) { return nullptr; } //TODO - /** Returns the StorageInfo struct. */ virtual Networking::Request *info(StorageInfoCallback callback, Networking::ErrorCallback errorCallback); @@ -94,9 +91,6 @@ public: /** 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 - /** Returns whether there are any requests running. */ virtual bool isWorking() { return false; } //TODO diff --git a/backends/cloud/onedrive/onedrivestorage.h b/backends/cloud/onedrive/onedrivestorage.h index 8fc7b2ac4d..5edd96e59c 100644 --- a/backends/cloud/onedrive/onedrivestorage.h +++ b/backends/cloud/onedrive/onedrivestorage.h @@ -92,18 +92,12 @@ public: /** Calls the callback when finished. */ virtual Networking::Request *createDirectory(Common::String path, BoolCallback callback, Networking::ErrorCallback errorCallback); - /** Calls the callback when finished. */ - virtual Networking::Request *touch(Common::String path, BoolCallback callback, Networking::ErrorCallback errorCallback) { return nullptr; } //TODO - /** Returns the StorageInfo struct. */ virtual Networking::Request *info(StorageInfoCallback callback, Networking::ErrorCallback errorCallback); /** 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 - /** Returns whether there are any requests running. */ virtual bool isWorking() { return false; } //TODO diff --git a/backends/cloud/storage.h b/backends/cloud/storage.h index 4956d5f617..1efee85bb3 100644 --- a/backends/cloud/storage.h +++ b/backends/cloud/storage.h @@ -106,18 +106,12 @@ public: /** Calls the callback when finished. */ virtual Networking::Request *createDirectory(Common::String path, BoolCallback callback, Networking::ErrorCallback errorCallback) = 0; - /** Calls the callback when finished. */ - virtual Networking::Request *touch(Common::String path, BoolCallback callback, Networking::ErrorCallback errorCallback) = 0; - /** Returns the StorageInfo struct. */ virtual Networking::Request *info(StorageInfoCallback callback, Networking::ErrorCallback errorCallback) = 0; /** Returns storage's saves directory path with the trailing slash. */ virtual Common::String savesDirectoryPath() = 0; - /** Returns whether saves sync process is running. */ - virtual bool isSyncing() = 0; - /** Returns whether there are any requests running. */ virtual bool isWorking() = 0; }; |