From c71c4eb027cc7bb3b6b1a9bd41c048fcdfe4aa90 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Fri, 4 May 2018 19:02:39 +0900 Subject: jobs/generated: code ordering, more comments --- lib/jobs/generated/pusher.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'lib/jobs/generated/pusher.h') 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& 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 = {}); }; -- cgit v1.2.3