blob: a5ad9388ebb60ed6f546d0a151b728a417263f43 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#ifndef REMOTEINTERFACE_H
#define REMOTEINTERFACE_H
#include "QXmppRpcManager.h"
class RemoteInterface : public QXmppInvokable
{
Q_OBJECT
public:
RemoteInterface(QObject *parent = nullptr);
bool isAuthorized(const QString &jid) const override;
// RPC Interface
public slots:
QString echoString(const QString &message);
};
#endif // REMOTEINTERFACE_H
|