aboutsummaryrefslogtreecommitdiff
path: root/lib/jobs/syncjob.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/jobs/syncjob.h')
-rw-r--r--lib/jobs/syncjob.h26
1 files changed, 12 insertions, 14 deletions
diff --git a/lib/jobs/syncjob.h b/lib/jobs/syncjob.h
index 036b25d0..2afaf0f7 100644
--- a/lib/jobs/syncjob.h
+++ b/lib/jobs/syncjob.h
@@ -13,33 +13,31 @@
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#pragma once
#include "basejob.h"
-#include "../syncdata.h"
#include "../csapi/definitions/sync_filter.h"
+#include "../syncdata.h"
-namespace QMatrixClient
-{
- class SyncJob: public BaseJob
+namespace QMatrixClient {
+ class SyncJob : public BaseJob
{
public:
- explicit SyncJob(const QString& since = {},
- const QString& filter = {},
- int timeout = -1, const QString& presence = {});
- explicit SyncJob(const QString& since, const Filter& filter,
- int timeout = -1, const QString& presence = {});
+ explicit SyncJob(const QString& since = {}, const QString& filter = {},
+ int timeout = -1, const QString& presence = {});
+ explicit SyncJob(const QString& since, const Filter& filter,
+ int timeout = -1, const QString& presence = {});
- SyncData &&takeData() { return std::move(d); }
+ SyncData&& takeData() { return std::move(d); }
protected:
- Status parseJson(const QJsonDocument& data) override;
+ Status parseJson(const QJsonDocument& data) override;
private:
- SyncData d;
+ SyncData d;
};
-} // namespace QMatrixClient
+} // namespace QMatrixClient