aboutsummaryrefslogtreecommitdiff
path: root/lib/jobs/generated/notifications.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/notifications.h
parentc5b3de1732ca49c78c8ed8cf77f9e9fa414d2f04 (diff)
downloadlibquotient-c71c4eb027cc7bb3b6b1a9bd41c048fcdfe4aa90.tar.gz
libquotient-c71c4eb027cc7bb3b6b1a9bd41c048fcdfe4aa90.zip
jobs/generated: code ordering, more comments
Diffstat (limited to 'lib/jobs/generated/notifications.h')
-rw-r--r--lib/jobs/generated/notifications.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/jobs/generated/notifications.h b/lib/jobs/generated/notifications.h
index d66e15be..428995ae 100644
--- a/lib/jobs/generated/notifications.h
+++ b/lib/jobs/generated/notifications.h
@@ -31,7 +31,9 @@ namespace QMatrixClient
qint64 ts;
};
- // End of inner data structures
+ // Construction/destruction
+
+ explicit GetNotificationsJob(const QString& from = {}, int limit = {}, const QString& only = {});
/** Construct a URL out of baseUrl and usual parameters passed to
* GetNotificationsJob. This function can be used when
@@ -40,9 +42,10 @@ namespace QMatrixClient
*/
static QUrl makeRequestUrl(QUrl baseUrl, const QString& from = {}, int limit = {}, const QString& only = {});
- explicit GetNotificationsJob(const QString& from = {}, int limit = {}, const QString& only = {});
~GetNotificationsJob() override;
+ // Result properties
+
const QString& nextToken() const;
std::vector<Notification>&& notifications();