aboutsummaryrefslogtreecommitdiff
path: root/backends/cloud/dropbox/dropboxstorage.h
diff options
context:
space:
mode:
Diffstat (limited to 'backends/cloud/dropbox/dropboxstorage.h')
-rw-r--r--backends/cloud/dropbox/dropboxstorage.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/backends/cloud/dropbox/dropboxstorage.h b/backends/cloud/dropbox/dropboxstorage.h
index bca83d2b5a..0b76bb5c4a 100644
--- a/backends/cloud/dropbox/dropboxstorage.h
+++ b/backends/cloud/dropbox/dropboxstorage.h
@@ -51,7 +51,7 @@ protected:
public:
/** This constructor uses OAuth code flow to get tokens. */
- DropboxStorage(Common::String code);
+ DropboxStorage(Common::String code, Networking::ErrorCallback cb);
virtual ~DropboxStorage();
/**
@@ -98,6 +98,11 @@ public:
* @return pointer to the newly created DropboxStorage or 0 if some problem occured.
*/
static DropboxStorage *loadFromConfig(Common::String keyPrefix);
+
+ /**
+ * Remove all DropboxStorage-related data from config.
+ */
+ static void removeFromConfig(Common::String keyPrefix);
};
} // End of namespace Dropbox