summaryrefslogtreecommitdiff
path: root/src/organizercore.h
diff options
context:
space:
mode:
authorTannin <sherb@gmx.net>2016-06-30 22:15:50 +0200
committerTannin <sherb@gmx.net>2016-06-30 22:15:50 +0200
commit64590a10d7832b6d94dcf4539f7da93d6eb889b9 (patch)
treeeab9ea4119010f8ee28e0b6f94caefaad33e4bdc /src/organizercore.h
parenta00cda607cd9115d06c1185f78bcdded28c8b09d (diff)
parent4a582e524dd012ed9d5fdb4f9c97aab22c8dac85 (diff)
Merge branch 'master' into new_vfs_library
Diffstat (limited to 'src/organizercore.h')
-rw-r--r--src/organizercore.h26
1 files changed, 19 insertions, 7 deletions
diff --git a/src/organizercore.h b/src/organizercore.h
index 6c882dc9..e994d9b1 100644
--- a/src/organizercore.h
+++ b/src/organizercore.h
@@ -23,21 +23,28 @@
class ModListSortProxy;
class PluginListSortProxy;
class Profile;
-namespace MOBase { template <typename T> class GuessedValue; }
+namespace MOBase {
+ template <typename T> class GuessedValue;
+ class IModInterface;
+}
namespace MOShared { class DirectoryEntry; }
#include <QDir>
+#include <QFileInfo>
#include <QList>
#include <QObject>
#include <QSettings>
#include <QString>
#include <QStringList>
#include <QThread>
+#include <QVariant>
class QNetworkReply;
class QUrl;
class QWidget;
+#include <Windows.h> //for HANDLE, LPDWORD
+
#include <functional>
#include <vector>
@@ -129,8 +136,16 @@ public:
void doAfterLogin(const std::function<void()> &function) { m_PostLoginTasks.append(function); }
- void spawnBinary(const Executable &exe);
- HANDLE spawnBinaryDirect(const QFileInfo &binary, const QString &arguments, const QString &profileName, const QDir &currentDirectory, const QString &steamAppID, const QString &customOverwrite);
+ void spawnBinary(const QFileInfo &binary, const QString &arguments = "",
+ const QDir &currentDirectory = QDir(),
+ const QString &steamAppID = "",
+ const QString &customOverwrite = "");
+
+ HANDLE spawnBinaryDirect(const QFileInfo &binary, const QString &arguments,
+ const QString &profileName,
+ const QDir &currentDirectory,
+ const QString &steamAppID,
+ const QString &customOverwrite);
void loginSuccessfulUpdate(bool necessary);
void loginFailedUpdate(const QString &message);
@@ -244,10 +259,7 @@ private:
const MOShared::DirectoryEntry *directoryEntry,
int createDestination);
- void spawnBinary(const QFileInfo &binary, const QString &arguments = "",
- const QDir &currentDirectory = QDir(),
- const QString &steamAppID = "",
- const QString &customOverwrite = "");
+ bool waitForProcessCompletion(HANDLE handle, LPDWORD exitCode);
private slots: