aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorAlexander Tkachev2016-05-21 00:44:09 +0600
committerAlexander Tkachev2016-08-24 16:07:55 +0600
commit17eb5f91433f2414dc73f89abfdd316407259b61 (patch)
tree0d605093c094c475ceb87f9aa1e394325f93d899 /common
parentf913675c43ada5c5f9128d904fd913129da35fe8 (diff)
downloadscummvm-rg350-17eb5f91433f2414dc73f89abfdd316407259b61.tar.gz
scummvm-rg350-17eb5f91433f2414dc73f89abfdd316407259b61.tar.bz2
scummvm-rg350-17eb5f91433f2414dc73f89abfdd316407259b61.zip
CLOUD: Add complex callbacks
Originally, I intended to add Storage API, StorageFile and StorageInfo stubs. When I tried to implement a simple info() call, I ended up fixing Request to contain some pointer field and all callbacks to have Request* parameter. And, now I have to place callback pointer into Request. which calls another callback. And, eventually, these "simple" callbacks would again require another pointer (to some caller class).
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 8a10a1a3c7..08ba928f34 100644
--- a/common/cloudmanager.h
+++ b/common/cloudmanager.h
@@ -53,7 +53,7 @@ public:
* Starts saves syncing process in currently active storage if there is any.
*/
- virtual void syncSaves() = 0;
+ virtual void syncSaves(Cloud::Storage::OperationCallback callback = 0) = 0;
};
} //end of namespace Common