blob: a83903f8953ea661e893401f69cdd7e5935c7966 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
// SPDX-FileCopyrightText: 2009 Ian Geiser <ian.geiser@gmail.com>
//
// SPDX-License-Identifier: LGPL-2.1-or-later
#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:
Q_SLOT QString echoString(const QString &message);
};
#endif // REMOTEINTERFACE_H
|