aboutsummaryrefslogtreecommitdiff
path: root/source/QXmppInvokable.h
diff options
context:
space:
mode:
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: