aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/voip.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csapi/voip.h')
-rw-r--r--lib/csapi/voip.h33
1 files changed, 16 insertions, 17 deletions
diff --git a/lib/csapi/voip.h b/lib/csapi/voip.h
index bb858499..3b011651 100644
--- a/lib/csapi/voip.h
+++ b/lib/csapi/voip.h
@@ -8,8 +8,7 @@
#include <QtCore/QJsonObject>
-namespace QMatrixClient
-{
+namespace QMatrixClient {
// Operations
/// Obtain TURN server credentials.
@@ -19,28 +18,28 @@ namespace QMatrixClient
class GetTurnServerJob : public BaseJob
{
public:
- explicit GetTurnServerJob();
+ explicit GetTurnServerJob();
- /*! Construct a URL without creating a full-fledged job object
- *
- * This function can be used when a URL for
- * GetTurnServerJob is necessary but the job
- * itself isn't.
- */
- static QUrl makeRequestUrl(QUrl baseUrl);
+ /*! Construct a URL without creating a full-fledged job object
+ *
+ * This function can be used when a URL for
+ * GetTurnServerJob is necessary but the job
+ * itself isn't.
+ */
+ static QUrl makeRequestUrl(QUrl baseUrl);
- ~GetTurnServerJob() override;
+ ~GetTurnServerJob() override;
- // Result properties
+ // Result properties
- /// The TURN server credentials.
- const QJsonObject& data() const;
+ /// The TURN server credentials.
+ const QJsonObject& data() const;
protected:
- Status parseJson(const QJsonDocument& data) override;
+ Status parseJson(const QJsonDocument& data) override;
private:
- class Private;
- QScopedPointer<Private> d;
+ class Private;
+ QScopedPointer<Private> d;
};
} // namespace QMatrixClient