diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-05-01 20:03:32 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-05-01 20:59:49 +0900 |
commit | ea363441269c9100c4bcc8076d4b3d125333a649 (patch) | |
tree | 3237842721976e9865470d80081e93413569a94e /lib/jobs | |
parent | df268cad0ad517a75c813606bf3ef11bdba6f4e6 (diff) | |
download | libquotient-ea363441269c9100c4bcc8076d4b3d125333a649.tar.gz libquotient-ea363441269c9100c4bcc8076d4b3d125333a649.zip |
gtad.yaml: Use EventPtr for Notifications.Event; add variant type to the map
Variants are not yet supported but just in case, let's have the line, it's very obvious.
Diffstat (limited to 'lib/jobs')
-rw-r--r-- | lib/jobs/gtad.yaml | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/lib/jobs/gtad.yaml b/lib/jobs/gtad.yaml index 7cfbab8f..052d8301 100644 --- a/lib/jobs/gtad.yaml +++ b/lib/jobs/gtad.yaml @@ -51,15 +51,24 @@ analyzer: avoidCopy?: true file: *ByteStream object: - type: QJsonObject - avoidCopy?: true - imports: <QtCore/QJsonObject> + - definitions/event.yaml: + type: EventPtr + imports: '"events/event.h"' + - //: + type: QJsonObject + avoidCopy?: true + imports: <QtCore/QJsonObject> array: + - Notification: + type: "std::vector<{{1}}>" + avoidCopy?: true + imports: <vector> - /.+/: type: "QVector<{{1}}>" avoidCopy?: true imports: <QtCore/QVector> - //: { type: QJsonArray, "avoidCopy?": true, imports: <QtCore/QJsonArray> } + variant: { type: QVariant, "avoidCopy?": true, imports: <QtCore/QVariant> } schema: avoidCopy?: true |