summaryrefslogtreecommitdiff
path: root/src/spawn.h
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2014-04-05 15:14:37 +0200
committerTannin <devnull@localhost>2014-04-05 15:14:37 +0200
commitc017f4a0d50b67a44e276bd5ae8929ed3990c62c (patch)
treebe504af55ffc99b657eca9938a4a76864e41454f /src/spawn.h
parentb1f1682790072fbfb45bd9eaa3c6890edfb81a22 (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.h8
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 &currentDirectory, bool hooked);
+HANDLE startBinary(const QFileInfo &binary, const QString &arguments, const QString &profileName, int logLevel,
+ const QDir &currentDirectory, bool hooked,
+ HANDLE stdOut = INVALID_HANDLE_VALUE, HANDLE stdErr = INVALID_HANDLE_VALUE);
#endif // SPAWN_H
+