aboutsummaryrefslogtreecommitdiff
path: root/backends/cloud/box/boxstorage.h
diff options
context:
space:
mode:
Diffstat (limited to 'backends/cloud/box/boxstorage.h')
-rw-r--r--backends/cloud/box/boxstorage.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/backends/cloud/box/boxstorage.h b/backends/cloud/box/boxstorage.h
index a8fd32c404..ce77192bfa 100644
--- a/backends/cloud/box/boxstorage.h
+++ b/backends/cloud/box/boxstorage.h
@@ -55,7 +55,7 @@ protected:
public:
/** This constructor uses OAuth code flow to get tokens. */
- BoxStorage(Common::String code);
+ BoxStorage(Common::String code, Networking::ErrorCallback cb);
virtual ~BoxStorage();
/**
@@ -104,6 +104,11 @@ public:
*/
static BoxStorage *loadFromConfig(Common::String keyPrefix);
+ /**
+ * Remove all BoxStorage-related data from config.
+ */
+ static void removeFromConfig(Common::String keyPrefix);
+
virtual Common::String getRootDirectoryId();
Common::String accessToken() const { return _token; }