diff options
author | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2022-01-02 05:28:24 +0100 |
---|---|---|
committer | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2022-01-02 05:28:24 +0100 |
commit | d516280a2b38ccb060e4f7502b873e19b1559ed1 (patch) | |
tree | b995becf2cb8d002ac3fa4d68c69a69a8f26fdcc /lib/events/roompowerlevelsevent.h | |
parent | 545f9084bacead9f02ba6df609822be4672b7952 (diff) | |
parent | 2dee2bf4f0b2bd6615866644b2df9460da6babbb (diff) | |
download | libquotient-d516280a2b38ccb060e4f7502b873e19b1559ed1.tar.gz libquotient-d516280a2b38ccb060e4f7502b873e19b1559ed1.zip |
Manage symbols visibility for dynamic linking
Diffstat (limited to 'lib/events/roompowerlevelsevent.h')
-rw-r--r-- | lib/events/roompowerlevelsevent.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/events/roompowerlevelsevent.h b/lib/events/roompowerlevelsevent.h index 0346fc0d..80e27048 100644 --- a/lib/events/roompowerlevelsevent.h +++ b/lib/events/roompowerlevelsevent.h @@ -7,7 +7,7 @@ #include "stateevent.h" namespace Quotient { -class PowerLevelsEventContent : public EventContent::Base { +class QUOTIENT_API PowerLevelsEventContent : public EventContent::Base { public: struct Notifications { int room; @@ -34,7 +34,8 @@ protected: void fillJson(QJsonObject* o) const override; }; -class RoomPowerLevelsEvent : public StateEvent<PowerLevelsEventContent> { +class QUOTIENT_API RoomPowerLevelsEvent + : public StateEvent<PowerLevelsEventContent> { Q_GADGET public: DEFINE_EVENT_TYPEID("m.room.power_levels", RoomPowerLevelsEvent) @@ -61,9 +62,6 @@ public: int powerLevelForEvent(const QString& eventId) const; int powerLevelForState(const QString& eventId) const; int powerLevelForUser(const QString& userId) const; - -private: }; - REGISTER_EVENT_TYPE(RoomPowerLevelsEvent) } // namespace Quotient |