blob: 9e075441202d6714b4c792ae053976a15a1e6c8c (
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
24
25
26
27
28
29
30
|
// SPDX-FileCopyrightText: 2010 Ian Reinhart Geiser <geiseri@kde.org>
// SPDX-FileCopyrightText: 2010 Jeremy Lainé <jeremy.laine@m4x.org>
//
// SPDX-License-Identifier: LGPL-2.1-or-later
#ifndef RPCCLIENT_H
#define RPCCLIENT_H
#include "QXmppClient.h"
class QXmppRpcManager;
class rpcClient : public QXmppClient
{
Q_OBJECT
public:
rpcClient(QObject *parent = nullptr);
~rpcClient() override;
private slots:
void slotInvokeRemoteMethod();
void slotPresenceReceived(const QXmppPresence &presence);
private:
QString m_remoteJid;
QXmppRpcManager *m_rpcManager;
};
#endif // RPCCLIENT_H
|