mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-18 19:50:46 +00:00
Using official source which has been placed in 3rdparty folder Oximetry button temporarily autostarts import.. Still a Work in progress.
29 lines
582 B
C++
29 lines
582 B
C++
#ifndef XMLRPCCLIENT_H
|
|
#define XMLRPCCLIENT_H
|
|
|
|
#include "httpclient.h"
|
|
#include <QObject>
|
|
#include <QString>
|
|
#include <QVariant>
|
|
#include <QByteArray>
|
|
#include <QVariantList>
|
|
|
|
class XmlRpcClient : public HttpClient
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
XmlRpcClient( const QString &host,
|
|
const quint16 port );
|
|
|
|
void execute( const QString &method,
|
|
const QVariantList ¶ms );
|
|
|
|
signals:
|
|
void dataReady( const QVariant &data );
|
|
|
|
private slots:
|
|
void onDataReady( const QByteArray &data );
|
|
};
|
|
|
|
#endif // XMLRPCCLIENT_H
|