aboutsummaryrefslogtreecommitdiff
path: root/examples/example_5_rpcInterface/remoteinterface.h
blob: 02ce72d748f80660ed3440d5cef6c6dfccb51fea (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef REMOTEINTERFACE_H
#define REMOTEINTERFACE_H

#include "QXmppInvokable.h"

class RemoteInterface : public QXmppInvokable
{
    Q_OBJECT
public:
    RemoteInterface(QObject *parent = 0);

    bool isAuthorized( const QString &jid ) const;

// RPC Interface
public slots:
    QString echoString( const QString &message );

};

#endif // REMOTEINTERFACE_H