diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-11-23 19:20:45 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-12-08 20:12:25 +0900 |
commit | a0053484024a85ae47dcd2b464cb15c0f85109e5 (patch) | |
tree | 200ece411a5aeb72fea518c238f784f2ccccf92b /lib/jobs/syncjob.h | |
parent | 9628594881346c8e06594e65d3befafc310e12d5 (diff) | |
download | libquotient-a0053484024a85ae47dcd2b464cb15c0f85109e5.tar.gz libquotient-a0053484024a85ae47dcd2b464cb15c0f85109e5.zip |
SyncJob: accept Filter instead of QString for the filter
Diffstat (limited to 'lib/jobs/syncjob.h')
-rw-r--r-- | lib/jobs/syncjob.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/jobs/syncjob.h b/lib/jobs/syncjob.h index a0a3c026..036b25d0 100644 --- a/lib/jobs/syncjob.h +++ b/lib/jobs/syncjob.h @@ -21,6 +21,7 @@ #include "basejob.h" #include "../syncdata.h" +#include "../csapi/definitions/sync_filter.h" namespace QMatrixClient { @@ -30,6 +31,8 @@ namespace QMatrixClient 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); } |