aboutsummaryrefslogtreecommitdiff
path: root/backends/cloud/storage.h
diff options
context:
space:
mode:
Diffstat (limited to 'backends/cloud/storage.h')
-rw-r--r--backends/cloud/storage.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/backends/cloud/storage.h b/backends/cloud/storage.h
index 5941fe4a32..40ea14a3a1 100644
--- a/backends/cloud/storage.h
+++ b/backends/cloud/storage.h
@@ -33,6 +33,12 @@
#include "common/stream.h"
#include "common/str.h"
+namespace GUI {
+
+class CommandReceiver;
+
+}
+
namespace Cloud {
class SavesSyncRequest;
@@ -146,6 +152,12 @@ public:
/** Returns an array of saves names which are not yet synced (thus cannot be used). */
virtual Common::Array<Common::String> getSyncingFiles();
+
+ /** Cancels running sync. */
+ virtual void cancelSync();
+
+ /** Sets SavesSyncRequest's target to given CommandReceiver. */
+ virtual void setSyncTarget(GUI::CommandReceiver *target);
};
} // End of namespace Cloud