aboutsummaryrefslogtreecommitdiff
path: root/lib/events
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-07-26 14:26:05 +0200
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-07-26 14:28:57 +0200
commita329538c617bad01ffd35a83a0b684f90993dd0d (patch)
treeca79ec9962b5613182d96e5b6dcab4e0b18e8165 /lib/events
parentc0ecba539aecebc7f3e32f40fc1d45d80d5e1f5c (diff)
downloadlibquotient-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.h2
-rw-r--r--lib/events/roomcanonicalaliasevent.h2
-rw-r--r--lib/events/simplestateevents.h2
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