aboutsummaryrefslogtreecommitdiff
path: root/lib/events/roommemberevent.h
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-01-02 05:28:24 +0100
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-01-02 05:28:24 +0100
commitd516280a2b38ccb060e4f7502b873e19b1559ed1 (patch)
treeb995becf2cb8d002ac3fa4d68c69a69a8f26fdcc /lib/events/roommemberevent.h
parent545f9084bacead9f02ba6df609822be4672b7952 (diff)
parent2dee2bf4f0b2bd6615866644b2df9460da6babbb (diff)
downloadlibquotient-d516280a2b38ccb060e4f7502b873e19b1559ed1.tar.gz
libquotient-d516280a2b38ccb060e4f7502b873e19b1559ed1.zip
Manage symbols visibility for dynamic linking
Diffstat (limited to 'lib/events/roommemberevent.h')
-rw-r--r--lib/events/roommemberevent.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/events/roommemberevent.h b/lib/events/roommemberevent.h
index 0fb464d4..5e446dbe 100644
--- a/lib/events/roommemberevent.h
+++ b/lib/events/roommemberevent.h
@@ -10,7 +10,7 @@
#include "quotient_common.h"
namespace Quotient {
-class MemberEventContent : public EventContent::Base {
+class QUOTIENT_API MemberEventContent : public EventContent::Base {
public:
using MembershipType
[[deprecated("Use Quotient::Membership instead")]] = Membership;
@@ -33,7 +33,7 @@ protected:
using MembershipType [[deprecated("Use Membership instead")]] = Membership;
-class RoomMemberEvent : public StateEvent<MemberEventContent> {
+class QUOTIENT_API RoomMemberEvent : public StateEvent<MemberEventContent> {
Q_GADGET
public:
DEFINE_EVENT_TYPEID("m.room.member", RoomMemberEvent)
@@ -95,6 +95,5 @@ doLoadEvent<RoomMemberEvent>(const QJsonObject& json, const QString& matrixType)
return makeEvent<RoomMemberEvent>(json);
return makeEvent<RoomMemberEvent>(unknownEventTypeId(), json);
}
-
REGISTER_EVENT_TYPE(RoomMemberEvent)
} // namespace Quotient