From c7b6ebd872339c4225ed9ddbe4d875def17b7dd6 Mon Sep 17 00:00:00 2001 From: Linus Jahn Date: Tue, 28 Jan 2020 17:54:49 +0100 Subject: Introduce QXmppInternalClientExtensions The new internal client extensions can be used to access private parts of the QXmppClient since QXmppInternalClientExtensions are a friend of the QXmppClient. The internal client extensions are not part of the public API, so you can't access them in an application using QXmpp. However, this was also the case before. If there is the need to access the internal extensions in the future, we'll still have all options open to change everything, because the classes are not part of the public API. --- src/client/QXmppClient.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/client/QXmppClient.h') diff --git a/src/client/QXmppClient.h b/src/client/QXmppClient.h index 7d2dd61b..95baf680 100644 --- a/src/client/QXmppClient.h +++ b/src/client/QXmppClient.h @@ -39,6 +39,7 @@ class QXmppPresence; class QXmppMessage; class QXmppIq; class QXmppStream; +class QXmppInternalClientExtension; // managers class QXmppDiscoveryIq; @@ -276,6 +277,8 @@ private slots: private: QXmppClientPrivate *const d; + + friend class QXmppInternalClientExtension; }; #endif // QXMPPCLIENT_H -- cgit v1.2.3