libQuotient
A Qt library for building matrix clients
syncjob.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: 2016 Kitsune Ral <Kitsune-Ral@users.sf.net>
2
// SPDX-License-Identifier: LGPL-2.1-or-later
3
4
#
pragma
once
5
6
#
include
"../csapi/definitions/sync_filter.h"
7
#
include
"../syncdata.h"
8
#
include
"basejob.h"
9
10
namespace
Quotient {
11
class
QUOTIENT_API
SyncJob :
public
BaseJob {
12
public
:
13
explicit
SyncJob(
const
QString& since = {},
const
QString& filter = {},
14
int
timeout = -1,
const
QString& presence = {});
15
explicit
SyncJob(
const
QString& since,
const
Filter& filter,
16
int
timeout = -1,
const
QString& presence = {});
17
18
SyncData takeData() {
return
std::move(d); }
19
20
protected
:
21
Status prepareResult() override;
22
23
private
:
24
SyncData d;
25
};
26
}
// namespace Quotient
Quotient
jobs
syncjob.h
Generated by
1.9.1