diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-09-12 01:09:40 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2019-09-12 01:09:40 -0400 |
| commit | 971cecf343777894cec5144da11d16ef97d0db31 (patch) | |
| tree | ccadc05bb7eea13c3cfcf1ed8f907a73c03f89ce /src/spawn.h | |
| parent | 0015a12cf8916d8000c6d14356b4c17c62f4a588 (diff) | |
split spawnBinaryProcess() into spawn, no changes
Diffstat (limited to 'src/spawn.h')
| -rw-r--r-- | src/spawn.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/spawn.h b/src/spawn.h index 9a2dbfbd..9a5afb4a 100644 --- a/src/spawn.h +++ b/src/spawn.h @@ -26,6 +26,22 @@ along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>. #include <QFileInfo>
#include <QDir>
+class Settings;
+
+namespace spawn
+{
+
+bool checkBinary(const QFileInfo& binary);
+
+bool checkSteam(
+ QWidget* parent, const QDir& gameDirectory,
+ const QFileInfo &binary, const QString &steamAppID, const Settings& settings);
+
+bool checkEnvironment(QWidget* parent, const QFileInfo& binary);
+
+bool checkBlacklist(
+ QWidget* parent, const Settings& settings, const QFileInfo& binary);
+
/**
* @brief spawn a binary with Mod Organizer injected
*
@@ -45,5 +61,7 @@ HANDLE startBinary(const QFileInfo &binary, const QString &arguments, const QDir ¤tDirectory, bool hooked,
HANDLE stdOut = INVALID_HANDLE_VALUE, HANDLE stdErr = INVALID_HANDLE_VALUE);
+} // namespace
+
#endif // SPAWN_H
|
