// SPDX-FileCopyrightText: 2010 Ian Reinhart Geiser // SPDX-FileCopyrightText: 2010 Jeremy Lainé // // 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: Q_SLOT void slotInvokeRemoteMethod(); Q_SLOT void slotPresenceReceived(const QXmppPresence &presence); QString m_remoteJid; QXmppRpcManager *m_rpcManager; }; #endif // RPCCLIENT_H