From 2f6a91642f2585c8b226011a0bb5a3725a012b15 Mon Sep 17 00:00:00 2001 From: Linus Jahn Date: Sun, 2 Oct 2022 03:52:21 +0200 Subject: Make EncryptedHttpFileSharingProvider able to handle not just http However it is still limited by the sources supported by EncryptedHttpFileSource. --- src/client/QXmppFileSharingManager.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/client/QXmppFileSharingManager.h') 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 output); private: + friend class QXmppEncryptedHttpFileSharingProvider; + void internalRegisterProvider(std::type_index, std::shared_ptr provider); + std::shared_ptr providerForSource(const std::any &source) const; std::unique_ptr d; }; -- cgit v1.2.3