diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-01-05 19:21:54 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-01-05 19:55:48 +0900 |
commit | 859a0c70353d9c92fbc02c9d5aa467bf9c28e9e6 (patch) | |
tree | 1a3372f491266d7edd89431c1b99f27b21cf2cc8 /jobs/basejob.h | |
parent | bd5b10c8d59b971379799b164eb968eea939079a (diff) | |
download | libquotient-859a0c70353d9c92fbc02c9d5aa467bf9c28e9e6.tar.gz libquotient-859a0c70353d9c92fbc02c9d5aa467bf9c28e9e6.zip |
BaseJob: Provide a simplified constructor
Diffstat (limited to 'jobs/basejob.h')
-rw-r--r-- | jobs/basejob.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/jobs/basejob.h b/jobs/basejob.h index 6b34c9f5..daca1e79 100644 --- a/jobs/basejob.h +++ b/jobs/basejob.h @@ -129,7 +129,9 @@ namespace QMatrixClient public: BaseJob(HttpVerb verb, const QString& name, const QString& endpoint, - const Query& query = {}, const Data& data = {}, + bool needsToken = true); + BaseJob(HttpVerb verb, const QString& name, const QString& endpoint, + const Query& query, const Data& data = {}, bool needsToken = true); Status status() const; |