aboutsummaryrefslogtreecommitdiff
path: root/jobs/syncjob.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2016-11-14 08:10:26 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2016-11-14 08:10:26 +0900
commitf84b3afb1e7c4662bdda55b9cf8e871083350937 (patch)
tree1dc47a05e0bce933ecb6fde9ae29545388063761 /jobs/syncjob.h
parent2a9caefa6bdce4a6c3a8847f166de16a69dd95dd (diff)
parentbc3ab9fdd3efc1fc40d6cef919e68246afb1ac83 (diff)
downloadlibquotient-f84b3afb1e7c4662bdda55b9cf8e871083350937.tar.gz
libquotient-f84b3afb1e7c4662bdda55b9cf8e871083350937.zip
Merge branch 'pragma-once'
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