aboutsummaryrefslogtreecommitdiff
path: root/lib/events/reactionevent.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/reactionevent.h
parent545f9084bacead9f02ba6df609822be4672b7952 (diff)
parent2dee2bf4f0b2bd6615866644b2df9460da6babbb (diff)
downloadlibquotient-d516280a2b38ccb060e4f7502b873e19b1559ed1.tar.gz
libquotient-d516280a2b38ccb060e4f7502b873e19b1559ed1.zip
Manage symbols visibility for dynamic linking
Diffstat (limited to 'lib/events/reactionevent.h')
-rw-r--r--lib/events/reactionevent.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/events/reactionevent.h b/lib/events/reactionevent.h
index 5a2b98c4..ce11eaed 100644
--- a/lib/events/reactionevent.h
+++ b/lib/events/reactionevent.h
@@ -7,7 +7,7 @@
namespace Quotient {
-struct EventRelation {
+struct QUOTIENT_API EventRelation {
using reltypeid_t = const char*;
static constexpr reltypeid_t Reply() { return "m.in_reply_to"; }
static constexpr reltypeid_t Annotation() { return "m.annotation"; }
@@ -31,12 +31,12 @@ struct EventRelation {
}
};
template <>
-struct JsonObjectConverter<EventRelation> {
+struct QUOTIENT_API JsonObjectConverter<EventRelation> {
static void dumpTo(QJsonObject& jo, const EventRelation& pod);
static void fillFrom(const QJsonObject& jo, EventRelation& pod);
};
-class ReactionEvent : public RoomEvent {
+class QUOTIENT_API ReactionEvent : public RoomEvent {
public:
DEFINE_EVENT_TYPEID("m.reaction", ReactionEvent)