aboutsummaryrefslogtreecommitdiff
path: root/lib/jobs/generated/pusher.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-05-04 19:02:39 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-05-04 20:24:33 +0900
commitc71c4eb027cc7bb3b6b1a9bd41c048fcdfe4aa90 (patch)
tree892bdcfd58fb31fc088c8e358d79695b16784920 /lib/jobs/generated/pusher.h
parentc5b3de1732ca49c78c8ed8cf77f9e9fa414d2f04 (diff)
downloadlibquotient-c71c4eb027cc7bb3b6b1a9bd41c048fcdfe4aa90.tar.gz
libquotient-c71c4eb027cc7bb3b6b1a9bd41c048fcdfe4aa90.zip
jobs/generated: code ordering, more comments
Diffstat (limited to 'lib/jobs/generated/pusher.h')
-rw-r--r--lib/jobs/generated/pusher.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/jobs/generated/pusher.h b/lib/jobs/generated/pusher.h
index 06a2c832..4d99d4d0 100644
--- a/lib/jobs/generated/pusher.h
+++ b/lib/jobs/generated/pusher.h
@@ -36,7 +36,9 @@ namespace QMatrixClient
PusherData data;
};
- // End of inner data structures
+ // Construction/destruction
+
+ explicit GetPushersJob();
/** Construct a URL out of baseUrl and usual parameters passed to
* GetPushersJob. This function can be used when
@@ -45,9 +47,10 @@ namespace QMatrixClient
*/
static QUrl makeRequestUrl(QUrl baseUrl);
- explicit GetPushersJob();
~GetPushersJob() override;
+ // Result properties
+
const QVector<Pusher>& pushers() const;
protected:
@@ -68,7 +71,7 @@ namespace QMatrixClient
QString url;
};
- // End of inner data structures
+ // Construction/destruction
explicit PostPusherJob(const QString& pushkey, const QString& kind, const QString& appId, const QString& appDisplayName, const QString& deviceDisplayName, const QString& lang, const PusherData& data, const QString& profileTag = {}, bool append = {});
};