diff options
author | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2022-07-26 14:26:05 +0200 |
---|---|---|
committer | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2022-07-26 14:28:57 +0200 |
commit | a329538c617bad01ffd35a83a0b684f90993dd0d (patch) | |
tree | ca79ec9962b5613182d96e5b6dcab4e0b18e8165 /lib/events | |
parent | c0ecba539aecebc7f3e32f40fc1d45d80d5e1f5c (diff) | |
download | libquotient-a329538c617bad01ffd35a83a0b684f90993dd0d.tar.gz libquotient-a329538c617bad01ffd35a83a0b684f90993dd0d.zip |
Add missing QUOTIENT_API pieces
The upcoming event type infrastructure finally helps to detect those
omissions more or less reliably (for event types only though).
Diffstat (limited to 'lib/events')
-rw-r--r-- | lib/events/redactionevent.h | 2 | ||||
-rw-r--r-- | lib/events/roomcanonicalaliasevent.h | 2 | ||||
-rw-r--r-- | lib/events/simplestateevents.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/events/redactionevent.h b/lib/events/redactionevent.h index 1c486a44..63617e54 100644 --- a/lib/events/redactionevent.h +++ b/lib/events/redactionevent.h @@ -6,7 +6,7 @@ #include "roomevent.h" namespace Quotient { -class RedactionEvent : public RoomEvent { +class QUOTIENT_API RedactionEvent : public RoomEvent { public: DEFINE_EVENT_TYPEID("m.room.redaction", RedactionEvent) diff --git a/lib/events/roomcanonicalaliasevent.h b/lib/events/roomcanonicalaliasevent.h index e599699d..60ca68ac 100644 --- a/lib/events/roomcanonicalaliasevent.h +++ b/lib/events/roomcanonicalaliasevent.h @@ -31,7 +31,7 @@ inline auto toJson(const EventContent::AliasesEventContent& c) return jo; } -class RoomCanonicalAliasEvent +class QUOTIENT_API RoomCanonicalAliasEvent : public StateEvent<EventContent::AliasesEventContent> { public: DEFINE_EVENT_TYPEID("m.room.canonical_alias", RoomCanonicalAliasEvent) diff --git a/lib/events/simplestateevents.h b/lib/events/simplestateevents.h index 33221542..43c1da69 100644 --- a/lib/events/simplestateevents.h +++ b/lib/events/simplestateevents.h @@ -34,7 +34,7 @@ DEFINE_SIMPLE_STATE_EVENT(RoomPinnedEvent, "m.room.pinned_messages", QStringList, pinnedEvents) constexpr auto RoomAliasesEventKey = "aliases"_ls; -class [[deprecated( +class QUOTIENT_API [[deprecated( "m.room.aliases events are deprecated by the Matrix spec; use" " RoomCanonicalAliasEvent::altAliases() to get non-authoritative aliases")]] // RoomAliasesEvent |