blob: 04bb4393603267aeb15243772ceb0c269d0b9c3d (
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 slots:
QString echoString(const QString &message);
};
#endif // REMOTEINTERFACE_H
|