mirror of https://github.com/OpenMW/openmw.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
538 B
C++
24 lines
538 B
C++
11 years ago
|
#ifndef PROCESSINVOKER_HPP
|
||
|
#define PROCESSINVOKER_HPP
|
||
|
|
||
|
#include <QStringList>
|
||
|
#include <QString>
|
||
|
|
||
|
namespace Process
|
||
|
{
|
||
|
class ProcessInvoker : public QObject
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
ProcessInvoker();
|
||
|
~ProcessInvoker();
|
||
|
|
||
|
public:
|
||
|
|
||
|
inline static bool startProcess(const QString &name, bool detached = false) { return startProcess(name, QStringList(), detached); }
|
||
|
bool static startProcess(const QString &name, const QStringList &arguments, bool detached = false);
|
||
|
};
|
||
|
}
|
||
|
|
||
|
#endif // PROCESSINVOKER_HPP
|