diff options
author | Alexander Tkachev | 2016-06-10 16:35:23 +0600 |
---|---|---|
committer | Alexander Tkachev | 2016-08-24 16:07:55 +0600 |
commit | 9ee2eb4e60a34948797620a0f80ae0a80037efc0 (patch) | |
tree | 582ec42766dbdb505a803678580f4f52c5d4b504 /backends/cloud/googledrive | |
parent | 3e6503743c2f5d90c64bf37e943338c33fc58d2b (diff) | |
download | scummvm-rg350-9ee2eb4e60a34948797620a0f80ae0a80037efc0.tar.gz scummvm-rg350-9ee2eb4e60a34948797620a0f80ae0a80037efc0.tar.bz2 scummvm-rg350-9ee2eb4e60a34948797620a0f80ae0a80037efc0.zip |
GUI: Add EditText in StorageWizardDialog
One can enter the code, press 'Connect' button and get a working
Storage!
Diffstat (limited to 'backends/cloud/googledrive')
-rw-r--r-- | backends/cloud/googledrive/googledrivestorage.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/backends/cloud/googledrive/googledrivestorage.h b/backends/cloud/googledrive/googledrivestorage.h index 489260db09..8093ef1938 100644 --- a/backends/cloud/googledrive/googledrivestorage.h +++ b/backends/cloud/googledrive/googledrivestorage.h @@ -40,12 +40,6 @@ class GoogleDriveStorage: public Cloud::Storage { /** This private constructor is called from loadFromConfig(). */ GoogleDriveStorage(Common::String token, Common::String refreshToken); - /** - * This private constructor is called from authThroughConsole() (phase 2). - * It uses OAuth code flow to get tokens. - */ - GoogleDriveStorage(Common::String code); - void tokenRefreshed(BoolCallback callback, Networking::JsonResponse response); void codeFlowComplete(BoolResponse response); @@ -61,7 +55,9 @@ class GoogleDriveStorage: public Cloud::Storage { void printBool(BoolResponse response); void printFile(UploadResponse response); void printInfo(StorageInfoResponse response); -public: +public: + /** This constructor uses OAuth code flow to get tokens. */ + GoogleDriveStorage(Common::String code); virtual ~GoogleDriveStorage(); /** |