diff options
author | KitsuneRal <KitsuneRal@users.noreply.github.com> | 2016-05-26 10:49:38 +0900 |
---|---|---|
committer | KitsuneRal <KitsuneRal@users.noreply.github.com> | 2016-05-26 10:49:38 +0900 |
commit | 408853a4f327978c990cd65b071e7c6496a0b95c (patch) | |
tree | 2487f1432c45829b152e7481077ad0fb08748aa6 /events/event.h | |
parent | 1cd8802c73ee3c0cc0095f8be30a9bbf3442c3ca (diff) | |
parent | fab6c26770827ce2b8ed8f5d06b3677b75a19cec (diff) | |
download | libquotient-408853a4f327978c990cd65b071e7c6496a0b95c.tar.gz libquotient-408853a4f327978c990cd65b071e7c6496a0b95c.zip |
Merge pull request #7 from Fxrh/event-lists
Introducing EventList class + minor fix
Diffstat (limited to 'events/event.h')
-rw-r--r-- | events/event.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/events/event.h b/events/event.h index 6a8d0e89..a009aa99 100644 --- a/events/event.h +++ b/events/event.h @@ -25,6 +25,8 @@ #include <QtCore/QDateTime> #include <QtCore/QJsonObject> +class QJsonArray; + namespace QMatrixClient { enum class EventType @@ -56,6 +58,8 @@ namespace QMatrixClient Private* d; }; + QList<Event*> eventListFromJson(const QJsonArray& contents); + /** * Finds a place in the timeline where a new event/message could be inserted. * @return an iterator to an item with the earliest timestamp after |