aboutsummaryrefslogtreecommitdiff
path: root/jobs/syncjob.h
diff options
context:
space:
mode:
authorMalte Brandy <malte.brandy@maralorn.de>2016-11-06 12:38:04 +0100
committerMalte Brandy <malte.brandy@maralorn.de>2016-11-06 12:38:04 +0100
commit3249179dda1a6e624c1ccbe98ed4503eebed60a0 (patch)
tree198aad0c4dd901dcc18614628200bf8ae04ecd3c /jobs/syncjob.h
parent9a1270dbf8cf6c2dc9337c33a3c59b437676548c (diff)
downloadlibquotient-3249179dda1a6e624c1ccbe98ed4503eebed60a0.tar.gz
libquotient-3249179dda1a6e624c1ccbe98ed4503eebed60a0.zip
Use #pragma once everywhere
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