diff options
author | Alexander Tkachev | 2016-05-21 00:44:09 +0600 |
---|---|---|
committer | Alexander Tkachev | 2016-08-24 16:07:55 +0600 |
commit | 17eb5f91433f2414dc73f89abfdd316407259b61 (patch) | |
tree | 0d605093c094c475ceb87f9aa1e394325f93d899 /backends/cloud/manager.h | |
parent | f913675c43ada5c5f9128d904fd913129da35fe8 (diff) | |
download | scummvm-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 'backends/cloud/manager.h')
-rw-r--r-- | backends/cloud/manager.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/cloud/manager.h b/backends/cloud/manager.h index a1f046d71d..47109cc146 100644 --- a/backends/cloud/manager.h +++ b/backends/cloud/manager.h @@ -38,7 +38,7 @@ public: virtual void init(); virtual Storage* getCurrentStorage(); - virtual void syncSaves(); + virtual void syncSaves(Storage::OperationCallback callback); }; } //end of namespace Cloud |