harbour-fernschreiber/src/processlauncher.h
Slava Monich 162e1ca996 Take logging categories into use
Logging can be enabled in release build like this:

QT_LOGGING_RULES="fernschreiber.*=true" harbour-fernschreiber

See https://doc.qt.io/qt-5/qloggingcategory.html for more details.
2020-11-22 16:40:55 +02:00

19 lines
340 B
C++

#ifndef PROCESSLAUNCHER_H
#define PROCESSLAUNCHER_H
#include <QObject>
class ProcessLauncher : public QObject
{
Q_OBJECT
public:
explicit ProcessLauncher(QObject *parent = nullptr);
Q_INVOKABLE bool launchProgram(const QString &program, const QStringList &arguments);
signals:
public slots:
};
#endif // PROCESSLAUNCHER_H