diff options
author | Alexander Tkachev | 2016-06-05 15:44:05 +0600 |
---|---|---|
committer | Alexander Tkachev | 2016-08-24 16:07:55 +0600 |
commit | e7763700e2e2016f4573e3feb77b5fab69268683 (patch) | |
tree | 11f66f0ea476782613618451d5630d1e32a04a92 /backends/cloud | |
parent | 8de2862eaa6513c43502bea86f53967015298884 (diff) | |
download | scummvm-rg350-e7763700e2e2016f4573e3feb77b5fab69268683.tar.gz scummvm-rg350-e7763700e2e2016f4573e3feb77b5fab69268683.tar.bz2 scummvm-rg350-e7763700e2e2016f4573e3feb77b5fab69268683.zip |
CLOUD: Make Save/Load dialog start saves sync
It also shows a "sync disabled" icon in case it has a savepath override.
Diffstat (limited to 'backends/cloud')
-rw-r--r-- | backends/cloud/savessyncrequest.cpp | 2 | ||||
-rw-r--r-- | backends/cloud/savessyncrequest.h | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/backends/cloud/savessyncrequest.cpp b/backends/cloud/savessyncrequest.cpp index b952681bff..a99c229925 100644 --- a/backends/cloud/savessyncrequest.cpp +++ b/backends/cloud/savessyncrequest.cpp @@ -33,7 +33,7 @@ namespace Cloud { const char *SavesSyncRequest::TIMESTAMPS_FILENAME = "timestamps"; SavesSyncRequest::SavesSyncRequest(Storage *storage, Storage::BoolCallback callback, Networking::ErrorCallback ecb): - Request(nullptr, ecb), _storage(storage), _boolCallback(callback), + Request(nullptr, ecb), CommandSender(nullptr), _storage(storage), _boolCallback(callback), _workingRequest(nullptr), _ignoreCallback(false) { start(); } diff --git a/backends/cloud/savessyncrequest.h b/backends/cloud/savessyncrequest.h index 6e74688493..397a8cbcac 100644 --- a/backends/cloud/savessyncrequest.h +++ b/backends/cloud/savessyncrequest.h @@ -27,10 +27,11 @@ #include "backends/cloud/storage.h" #include "common/hashmap.h" #include "common/hash-str.h" +#include "gui/object.h" namespace Cloud { -class SavesSyncRequest: public Networking::Request { +class SavesSyncRequest: public Networking::Request, public GUI::CommandSender { const uint32 INVALID_TIMESTAMP = UINT_MAX; static const char *TIMESTAMPS_FILENAME; |