diff options
author | Hnatiuk Vladyslav <aders1234@gmail.com> | 2022-01-02 11:27:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-02 11:27:33 +0100 |
commit | 8730fb0782860f278760e369b9f42f266f0572b3 (patch) | |
tree | ea6b22c418e20a03282483bd599aa79db2e2e6cc /lib/uriresolver.h | |
parent | ca6a104941b71e7b6a8bdcb6ebcdfff5ec8e8aca (diff) | |
parent | d516280a2b38ccb060e4f7502b873e19b1559ed1 (diff) | |
download | libquotient-8730fb0782860f278760e369b9f42f266f0572b3.tar.gz libquotient-8730fb0782860f278760e369b9f42f266f0572b3.zip |
Merge branch 'quotient-im:dev' into fix-qt-6
Diffstat (limited to 'lib/uriresolver.h')
-rw-r--r-- | lib/uriresolver.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/uriresolver.h b/lib/uriresolver.h index ff97324a..9140046c 100644 --- a/lib/uriresolver.h +++ b/lib/uriresolver.h @@ -25,7 +25,7 @@ class User; * gradual implementation. Derived classes are encouraged to override as many * of them as possible. */ -class UriResolverBase { +class QUOTIENT_API UriResolverBase { public: /*! \brief Resolve the resource and dispatch an action depending on its type * @@ -105,7 +105,7 @@ protected: * * \sa UriResolverBase, UriDispatcher */ -UriResolveResult +QUOTIENT_API UriResolveResult visitResource(Connection* account, const Uri& uri, std::function<UriResolveResult(User*, QString)> userHandler, std::function<void(Room*, QString)> roomEventHandler, @@ -141,7 +141,7 @@ inline UriResolveResult checkResource(Connection* account, const Uri& uri) * synchronously - the returned value is the result of resolving the URI, * not acting on it. */ -class UriDispatcher : public QObject, public UriResolverBase { +class QUOTIENT_API UriDispatcher : public QObject, public UriResolverBase { Q_OBJECT public: explicit UriDispatcher(QObject* parent = nullptr) : QObject(parent) {} |