aboutsummaryrefslogtreecommitdiff
path: root/jobs/syncjob.h
diff options
context:
space:
mode:
Diffstat (limited to 'jobs/syncjob.h')
-rw-r--r--jobs/syncjob.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/jobs/syncjob.h b/jobs/syncjob.h
index e7b23d16..be1d4776 100644
--- a/jobs/syncjob.h
+++ b/jobs/syncjob.h
@@ -16,8 +16,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef QMATRIXCLIENT_SYNCJOB_H
-#define QMATRIXCLIENT_SYNCJOB_H
+#pragma once
#include "basejob.h"
@@ -102,7 +101,7 @@ namespace QMatrixClient
SyncJob(ConnectionData* connection, QString since = {}, QString filter = {},
int timeout = -1, QString presence = {});
virtual ~SyncJob();
-
+
SyncData& roomData();
QString nextBatch() const;
@@ -114,5 +113,3 @@ namespace QMatrixClient
Private* d;
};
}
-
-#endif // QMATRIXCLIENT_SYNCJOB_H