diff options
author | Alexander Tkachev | 2019-07-15 21:06:00 +0700 |
---|---|---|
committer | Matan Bareket | 2019-07-30 14:51:41 -0400 |
commit | 0ee0e2d537e6217278e75ec59c216936896bf6cb (patch) | |
tree | 223ac53d5aefd91766e03d369cfeee32a65dc5e7 /backends/cloud/id | |
parent | 8333cce498a0c600ff42e58d644f9dad7a10068b (diff) | |
download | scummvm-rg350-0ee0e2d537e6217278e75ec59c216936896bf6cb.tar.gz scummvm-rg350-0ee0e2d537e6217278e75ec59c216936896bf6cb.tar.bz2 scummvm-rg350-0ee0e2d537e6217278e75ec59c216936896bf6cb.zip |
CLOUD: Update GoogleDriveStorage and BoxStorage to auth via cloud.scummvm.org
Diffstat (limited to 'backends/cloud/id')
-rw-r--r-- | backends/cloud/id/idstorage.cpp | 5 | ||||
-rw-r--r-- | backends/cloud/id/idstorage.h | 6 |
2 files changed, 9 insertions, 2 deletions
diff --git a/backends/cloud/id/idstorage.cpp b/backends/cloud/id/idstorage.cpp index 44427ac4d2..dd8805ea9b 100644 --- a/backends/cloud/id/idstorage.cpp +++ b/backends/cloud/id/idstorage.cpp @@ -33,6 +33,11 @@ namespace Cloud { namespace Id { +IdStorage::IdStorage() {} + +IdStorage::IdStorage(Common::String token, Common::String refreshToken): + BaseStorage(token, refreshToken) {} + IdStorage::~IdStorage() {} void IdStorage::printFiles(FileArrayResponse response) { diff --git a/backends/cloud/id/idstorage.h b/backends/cloud/id/idstorage.h index 946a792b42..35a320284e 100644 --- a/backends/cloud/id/idstorage.h +++ b/backends/cloud/id/idstorage.h @@ -23,7 +23,7 @@ #ifndef BACKENDS_CLOUD_ID_IDSTORAGE_H #define BACKENDS_CLOUD_ID_IDSTORAGE_H -#include "backends/cloud/storage.h" +#include "backends/cloud/basestorage.h" #include "backends/networking/curl/curljsonrequest.h" /* @@ -43,7 +43,7 @@ namespace Cloud { namespace Id { -class IdStorage: public Cloud::Storage { +class IdStorage: public Cloud::BaseStorage { protected: void printFiles(FileArrayResponse response); void printBool(BoolResponse response); @@ -52,6 +52,8 @@ protected: ListDirectoryCallback getPrintFilesCallback(); public: + IdStorage(); + IdStorage(Common::String token, Common::String refreshToken); virtual ~IdStorage(); /** Public Cloud API comes down there. */ |