diff options
| author | Tannin <devnull@localhost> | 2014-04-05 15:14:37 +0200 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2014-04-05 15:14:37 +0200 |
| commit | c017f4a0d50b67a44e276bd5ae8929ed3990c62c (patch) | |
| tree | be504af55ffc99b657eca9938a4a76864e41454f /src/spawn.h | |
| parent | b1f1682790072fbfb45bd9eaa3c6890edfb81a22 (diff) | |
- added buttons to backup and restore the modlist and pluginlist
- replaced boss integration with loot
Diffstat (limited to 'src/spawn.h')
| -rw-r--r-- | src/spawn.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/spawn.h b/src/spawn.h index 48320fea..3f037119 100644 --- a/src/spawn.h +++ b/src/spawn.h @@ -52,11 +52,17 @@ private: * @param arguments arguments to pass to the binary * @param profileName name of the active profile * @param currentDirectory the directory to use as the working directory to run in + * @param logLevel log level to be used by the hook library. Ignored if hooked is false * @param hooked if set, the binary is started with mo injected + * @param stdout if not equal to INVALID_HANDLE_VALUE, this is used as stdout for the process + * @param stderr if not equal to INVALID_HANDLE_VALUE, this is used as stderr for the process * @return the process handle * @todo is the profile name even used any more? * @todo is the hooked parameter used? **/ -HANDLE startBinary(const QFileInfo &binary, const QString &arguments, const QString &profileName, int logLevel, const QDir ¤tDirectory, bool hooked); +HANDLE startBinary(const QFileInfo &binary, const QString &arguments, const QString &profileName, int logLevel, + const QDir ¤tDirectory, bool hooked, + HANDLE stdOut = INVALID_HANDLE_VALUE, HANDLE stdErr = INVALID_HANDLE_VALUE); #endif // SPAWN_H + |
