summaryrefslogtreecommitdiff
path: root/src/spawn.h
diff options
context:
space:
mode:
authorBrian Munro <brian.alexander.munro@gmail.com>2018-02-22 18:02:02 +0200
committerGitHub <noreply@github.com>2018-02-22 18:02:02 +0200
commit28714f0eb800f2170acbf29dddce1582d20d6b8b (patch)
tree0684c123db375336e0e03f0240155a12e744db16 /src/spawn.h
parent0bcd752b2758bdb072b498ccc90905276be065e9 (diff)
parent5e5c9c07291f6b09623d31c92b1fb61c4ede576e (diff)
Merge pull request #236 from SuperSandro2000/new_vfs_library
Update reame.md
Diffstat (limited to 'src/spawn.h')
-rw-r--r--src/spawn.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/spawn.h b/src/spawn.h
index c2d99bdb..d2e3d99c 100644
--- a/src/spawn.h
+++ b/src/spawn.h
@@ -21,11 +21,10 @@ along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>.
#define SPAWN_H
#define WIN32_LEAN_AND_MEAN
-#include <windows.h>
-#include <tchar.h>
-#include <QFileInfo>
#include <QDir>
-
+#include <QFileInfo>
+#include <tchar.h>
+#include <windows.h>
/**
* @brief a dirty little trick so we can issue a clean restart from startBinary
@@ -44,7 +43,6 @@ private:
static ExitProxy *s_Instance;
};*/
-
/**
* @brief spawn a binary with Mod Organizer injected
*
@@ -60,9 +58,7 @@ private:
* @todo is the profile name even used any more?
* @todo is the hooked parameter used?
**/
-HANDLE startBinary(const QFileInfo &binary, const QString &arguments,
- const QDir &currentDirectory, bool hooked,
+HANDLE startBinary(const QFileInfo& binary, const QString& arguments, const QDir& currentDirectory, bool hooked,
HANDLE stdOut = INVALID_HANDLE_VALUE, HANDLE stdErr = INVALID_HANDLE_VALUE);
#endif // SPAWN_H
-