aboutsummaryrefslogtreecommitdiff
path: root/jobs
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-01-13 19:42:37 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-01-13 19:42:37 +0900
commit32d2673ff6268ad00c2b80912e7675673480096c (patch)
tree685ab7a115f2bfc4be0c293c3965e8bd9ced614e /jobs
parent8f4a940d70cdcfc34a2ffe2d9a9561c0d821c56e (diff)
downloadlibquotient-32d2673ff6268ad00c2b80912e7675673480096c.tar.gz
libquotient-32d2673ff6268ad00c2b80912e7675673480096c.zip
Refactor EventContent; allow to easily check files out of message events
The whole inheritance/templating structure has been considerably simplified by using a trick with mixin classes; thanks to that, *Info classes are no more templated, they are just mixed together by the almighty UrlBasedContent<> template (but the same can easily be done outside of it, as LocationContent implementation shows). RoomMessageEvent has gained hasFileContent(); it's also possible to easily get a FileInfo core object just by calling msgEvent->content()->fileInfo().
Diffstat (limited to 'jobs')
0 files changed, 0 insertions, 0 deletions