aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorAlexander Tkachev2016-06-05 22:26:51 +0600
committerAlexander Tkachev2016-08-24 16:07:55 +0600
commit9eb4aad7fdea54fd99ad4a9aa4ab78bf64f81794 (patch)
treec023071ab99a5804b78121e9d7bbbcc16975c253 /common
parent0ce7be17d3fec380f726c1ff16c559344b3e24c1 (diff)
downloadscummvm-rg350-9eb4aad7fdea54fd99ad4a9aa4ab78bf64f81794.tar.gz
scummvm-rg350-9eb4aad7fdea54fd99ad4a9aa4ab78bf64f81794.tar.bz2
scummvm-rg350-9eb4aad7fdea54fd99ad4a9aa4ab78bf64f81794.zip
CLOUD: Make DefaultSaveFileManager ignore syncing files
MetaEngines don't get "locked" files in the list, so won't try to open these. Save/Load dialog updates save list every time SavesSyncRequest tells it to.
Diffstat (limited to 'common')
-rw-r--r--common/savefile.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/common/savefile.h b/common/savefile.h
index d9c5512b7e..38b21c9ddd 100644
--- a/common/savefile.h
+++ b/common/savefile.h
@@ -183,6 +183,13 @@ public:
* @see Common::matchString()
*/
virtual StringArray listSavefiles(const String &pattern) = 0;
+
+ /**
+ * Refreshes the save files list (because some new files could've been added)
+ * and remembers the "locked" files list. These files could not be used
+ * for saving or loading because they are being synced by CloudManager.
+ */
+ virtual void updateSavefilesList(StringArray &lockedFiles) = 0;
};
} // End of namespace Common