mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2025-04-02 18:31:50 -04:00
25 lines
378 B
C++
25 lines
378 B
C++
#ifndef CDPCOMMAND_H
|
|
#define CDPCOMMAND_H
|
|
|
|
#include <QObject>
|
|
|
|
class CDPCommand : public QObject
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit CDPCommand(QObject *parent = nullptr);
|
|
CDPCommand(int id, QString cmd, QVariantMap& params);
|
|
|
|
QByteArray toJson();
|
|
|
|
signals:
|
|
void finished();
|
|
|
|
private:
|
|
int id;
|
|
QString cmd;
|
|
QVariantMap *params;
|
|
};
|
|
|
|
#endif // CDPCOMMAND_H
|