aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorAlexander Tkachev2016-05-31 01:51:32 +0600
committerAlexander Tkachev2016-08-24 16:07:55 +0600
commiteb63b50b7f0841e40365f3fbafa9810e8b190872 (patch)
tree4f348f12298c15e8a5885b5a74ce3788493b9a7e /common
parent001b417f33beeb3b2da11f58105b971dc7e6f600 (diff)
downloadscummvm-rg350-eb63b50b7f0841e40365f3fbafa9810e8b190872.tar.gz
scummvm-rg350-eb63b50b7f0841e40365f3fbafa9810e8b190872.tar.bz2
scummvm-rg350-eb63b50b7f0841e40365f3fbafa9810e8b190872.zip
CLOUD: Refactor Request
Added ErrorResponse and ErrorCallback. Each Request now has an ErrorCallback, which should be called instead of usual callback in case of failure.
Diffstat (limited to 'common')
-rw-r--r--common/cloudmanager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cloudmanager.h b/common/cloudmanager.h
index 350901e35f..51c98e7d0c 100644
--- a/common/cloudmanager.h
+++ b/common/cloudmanager.h
@@ -64,7 +64,7 @@ public:
/**
* Starts saves syncing process in currently active storage if there is any.
*/
- virtual void syncSaves(Cloud::Storage::BoolCallback callback = 0) = 0;
+ virtual void syncSaves(Cloud::Storage::BoolCallback callback = nullptr, Networking::ErrorCallback errorCallback = nullptr) = 0;
};
} // End of namespace Common