diff options
| author | Linus Jahn <lnj@kaidan.im> | 2022-10-02 03:52:21 +0200 |
|---|---|---|
| committer | Linus Jahn <lnj@kaidan.im> | 2022-10-02 23:01:13 +0200 |
| commit | 2f6a91642f2585c8b226011a0bb5a3725a012b15 (patch) | |
| tree | aaaa82631dd4d2cb2de0c5cb49ec108ff7c8a1b4 /src/client/QXmppFileSharingManager.h | |
| parent | d11198502e3bbc7838443147a6dc729f5d1b597d (diff) | |
| download | qxmpp-2f6a91642f2585c8b226011a0bb5a3725a012b15.tar.gz | |
Make EncryptedHttpFileSharingProvider able to handle not just http
However it is still limited by the sources supported by
EncryptedHttpFileSource.
Diffstat (limited to 'src/client/QXmppFileSharingManager.h')
| -rw-r--r-- | src/client/QXmppFileSharingManager.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/QXmppFileSharingManager.h b/src/client/QXmppFileSharingManager.h index 05039f79..18966379 100644 --- a/src/client/QXmppFileSharingManager.h +++ b/src/client/QXmppFileSharingManager.h @@ -69,7 +69,10 @@ public: std::unique_ptr<QIODevice> output); private: + friend class QXmppEncryptedHttpFileSharingProvider; + void internalRegisterProvider(std::type_index, std::shared_ptr<QXmppFileSharingProvider> provider); + std::shared_ptr<QXmppFileSharingProvider> providerForSource(const std::any &source) const; std::unique_ptr<QXmppFileSharingManagerPrivate> d; }; |
