aboutsummaryrefslogtreecommitdiff
path: root/jobs/generated/list_public_rooms.cpp
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-14 00:35:29 +0900
commitb9f4b655273481e64d7d7ead6a30dbf85a901063 (patch)
tree63e150224c551fbea6dee6f9156d9f5c8f6cac94 /jobs/generated/list_public_rooms.cpp
parenteec3865e536a6c4f95f917eefc2e94c8d0c158b1 (diff)
downloadlibquotient-b9f4b655273481e64d7d7ead6a30dbf85a901063.tar.gz
libquotient-b9f4b655273481e64d7d7ead6a30dbf85a901063.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/generated/list_public_rooms.cpp')
0 files changed, 0 insertions, 0 deletions