From d9745efcd24e547ba0185732bfc9b0c9f931162e Mon Sep 17 00:00:00 2001 From: Ian Geiser Date: Wed, 11 Nov 2009 11:09:28 +0000 Subject: This is the rest of XEP-009. This needs some cleanup and testing still. I am not happy with the implementation, but I am happy with the interface on QXmppClient. --- source/QXmppInvokable.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source/QXmppInvokable.h') diff --git a/source/QXmppInvokable.h b/source/QXmppInvokable.h index c7f9c687..a55299a3 100644 --- a/source/QXmppInvokable.h +++ b/source/QXmppInvokable.h @@ -52,9 +52,15 @@ public: */ static QList paramTypes( const QList ¶ms ); + /** + * Reimplement this method to return a true if the invoking JID is allowed to execute the method. + */ virtual bool isAuthorized( const QString &jid ) const = 0; public slots: + /** + * This provides a list of interfaces for introspection of the presented interface. + */ QStringList interfaces() const; private: -- cgit v1.2.3