1
0
Fork 0
VideoPlayer/src/Process.h

20 lines
339 B
C
Raw Normal View History

2020-04-24 11:15:49 +01:00
#ifndef Process_H
#define Process_H
2020-04-26 01:05:09 +01:00
#include <QMetaType>
#include <QObject>
#include <QProcess>
#include <QString>
class Process : public QProcess
{
Q_OBJECT
public:
explicit Process(QObject* parent = 0);
Q_INVOKABLE void start(const QString& program, const QVariantList& arguments);
Q_INVOKABLE QString getOutput();
};
2020-04-24 11:15:49 +01:00
#endif