aboutsummaryrefslogtreecommitdiff
path: root/source/QXmppInvokable.h
diff options
context:
space:
mode:
authorIan Geiser <ian.geiser@gmail.com>2009-11-11 11:09:28 +0000
committerIan Geiser <ian.geiser@gmail.com>2009-11-11 11:09:28 +0000
commitd9745efcd24e547ba0185732bfc9b0c9f931162e (patch)
treec66bc1c52329ea1a21771b74845009a9a0addd70 /source/QXmppInvokable.h
parent5b0870ddaac421af2639058648a218c7061cdd6f (diff)
downloadqxmpp-d9745efcd24e547ba0185732bfc9b0c9f931162e.tar.gz
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.
Diffstat (limited to 'source/QXmppInvokable.h')
-rw-r--r--source/QXmppInvokable.h6
1 files changed, 6 insertions, 0 deletions
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<QByteArray> paramTypes( const QList<QVariant> &params );
+ /**
+ * 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: