diff options
author | Alexander Tkachev | 2016-07-14 09:19:12 +0600 |
---|---|---|
committer | Alexander Tkachev | 2016-08-24 16:07:55 +0600 |
commit | b4e9e35e07538a118588742aff6fd4a7a2b4d600 (patch) | |
tree | f332710318f4880baf8fc7f58902caca3314d77d /backends/cloud/onedrive/onedrivestorage.h | |
parent | 0b5bd18d8525e16749ad422913800b2120021240 (diff) | |
download | scummvm-rg350-b4e9e35e07538a118588742aff6fd4a7a2b4d600.tar.gz scummvm-rg350-b4e9e35e07538a118588742aff6fd4a7a2b4d600.tar.bz2 scummvm-rg350-b4e9e35e07538a118588742aff6fd4a7a2b4d600.zip |
CLOUD: Cleanup in Storages
Diffstat (limited to 'backends/cloud/onedrive/onedrivestorage.h')
-rw-r--r-- | backends/cloud/onedrive/onedrivestorage.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/backends/cloud/onedrive/onedrivestorage.h b/backends/cloud/onedrive/onedrivestorage.h index 061d0fa172..650c240aef 100644 --- a/backends/cloud/onedrive/onedrivestorage.h +++ b/backends/cloud/onedrive/onedrivestorage.h @@ -24,7 +24,6 @@ #define BACKENDS_CLOUD_ONEDRIVE_ONEDRIVESTORAGE_H #include "backends/cloud/storage.h" -#include "common/callback.h" #include "backends/networking/curl/curljsonrequest.h" namespace Cloud { @@ -46,12 +45,6 @@ class OneDriveStorage: public Cloud::Storage { /** Constructs StorageInfo based on JSON response from cloud. */ void infoInnerCallback(StorageInfoCallback outerCallback, Networking::JsonResponse json); - void printJson(Networking::JsonResponse response); - void fileDownloaded(BoolResponse response); - void printFiles(FileArrayResponse response); - void printBool(BoolResponse response); - void printFile(UploadResponse response); - void fileInfoCallback(Networking::NetworkReadStreamCallback outerCallback, Networking::JsonResponse response); public: /** This constructor uses OAuth code flow to get tokens. */ @@ -89,9 +82,6 @@ public: virtual Networking::Request *streamFileById(Common::String path, Networking::NetworkReadStreamCallback callback, Networking::ErrorCallback errorCallback); /** Calls the callback when finished. */ - virtual Networking::Request *remove(Common::String path, BoolCallback callback, Networking::ErrorCallback errorCallback) { return nullptr; } //TODO - - /** Calls the callback when finished. */ virtual Networking::Request *createDirectory(Common::String path, BoolCallback callback, Networking::ErrorCallback errorCallback); /** Returns the StorageInfo struct. */ @@ -107,16 +97,6 @@ public: static OneDriveStorage *loadFromConfig(Common::String keyPrefix); /** - * Returns OneDrive auth link. - */ - static Common::String getAuthLink(); - - /** - * Show message with OneDrive auth instructions. (Temporary) - */ - static void authThroughConsole(); - - /** * Gets new access_token. If <code> passed is "", refresh_token is used. * Use "" in order to refresh token and pass a callback, so you could * continue your work when new token is available. |