aboutsummaryrefslogtreecommitdiff
path: root/backends/cloud/onedrive/onedrivestorage.h
diff options
context:
space:
mode:
authorPeter Bozsó2016-05-28 20:10:38 +0200
committerAlexander Tkachev2016-08-24 16:07:55 +0600
commit81c34adaef269524b1f53adcac722aa6a9730075 (patch)
treeda867e32df6a20b06b2e433948e5f94e17ec73f7 /backends/cloud/onedrive/onedrivestorage.h
parentf4dfaed19d14c309e44d390b44bff571566779a5 (diff)
downloadscummvm-rg350-81c34adaef269524b1f53adcac722aa6a9730075.tar.gz
scummvm-rg350-81c34adaef269524b1f53adcac722aa6a9730075.tar.bz2
scummvm-rg350-81c34adaef269524b1f53adcac722aa6a9730075.zip
Fix comment formatting
Diffstat (limited to 'backends/cloud/onedrive/onedrivestorage.h')
-rw-r--r--backends/cloud/onedrive/onedrivestorage.h49
1 files changed, 24 insertions, 25 deletions
diff --git a/backends/cloud/onedrive/onedrivestorage.h b/backends/cloud/onedrive/onedrivestorage.h
index 674d13634d..3dc5b7a7ad 100644
--- a/backends/cloud/onedrive/onedrivestorage.h
+++ b/backends/cloud/onedrive/onedrivestorage.h
@@ -41,9 +41,9 @@ class OneDriveStorage: public Cloud::Storage {
OneDriveStorage(Common::String token, Common::String uid, Common::String refreshToken);
/**
- * This private constructor is called from authThroughConsole() (phase 2).
- * It uses OAuth code flow to get tokens.
- */
+ * This private constructor is called from authThroughConsole() (phase 2).
+ * It uses OAuth code flow to get tokens.
+ */
OneDriveStorage(Common::String code);
void tokenRefreshed(BoolCallback callback, Networking::JsonResponse pair);
@@ -58,17 +58,16 @@ public:
virtual ~OneDriveStorage();
/**
- * Storage methods, which are used by CloudManager to save
- * storage in configuration file.
- */
+ * Storage methods, which are used by CloudManager to save
+ * storage in configuration file.
+ */
/**
- * Save storage data using ConfMan.
- * @param keyPrefix all saved keys must start with this prefix.
- * @note every Storage must write keyPrefix + "type" key
- * with common value (e.g. "Dropbox").
- */
-
+ * Save storage data using ConfMan.
+ * @param keyPrefix all saved keys must start with this prefix.
+ * @note every Storage must write keyPrefix + "type" key
+ * with common value (e.g. "Dropbox").
+ */
virtual void saveConfig(Common::String keyPrefix);
/** Public Cloud API comes down there. */
@@ -110,32 +109,32 @@ public:
virtual bool isWorking() { return false; } //TODO
/**
- * Load token and user id from configs and return OneDriveStorage for those.
- * @return pointer to the newly created OneDriveStorage or 0 if some problem occured.
- */
+ * Load token and user id from configs and return OneDriveStorage for those.
+ * @return pointer to the newly created OneDriveStorage or 0 if some problem occured.
+ */
static OneDriveStorage *loadFromConfig(Common::String keyPrefix);
/**
- * Returns OneDrive auth link.
- */
+ * Returns OneDrive auth link.
+ */
static Common::String getAuthLink();
/**
- * Show message with OneDrive auth instructions. (Temporary)
- */
+ * Show message with OneDrive auth instructions. (Temporary)
+ */
static void authThroughConsole();
/**
- * Gets new access_token. If <code> passed is "", refresh_token is used.
- * Use "" in order to refresh token and pass a callback, so you could
- * continue your work when new token is available.
- */
+ * Gets new access_token. If <code> passed is "", refresh_token is used.
+ * Use "" in order to refresh token and pass a callback, so you could
+ * continue your work when new token is available.
+ */
void getAccessToken(BoolCallback callback, Common::String code = "");
Common::String accessToken() { return _token; }
};
-} //end of namespace OneDrive
-} //end of namespace Cloud
+} // End of namespace OneDrive
+} // End of namespace Cloud
#endif