diff options
| author | Tannin <sherb@gmx.net> | 2016-06-30 22:15:50 +0200 |
|---|---|---|
| committer | Tannin <sherb@gmx.net> | 2016-06-30 22:15:50 +0200 |
| commit | 64590a10d7832b6d94dcf4539f7da93d6eb889b9 (patch) | |
| tree | eab9ea4119010f8ee28e0b6f94caefaad33e4bdc /src/organizercore.h | |
| parent | a00cda607cd9115d06c1185f78bcdded28c8b09d (diff) | |
| parent | 4a582e524dd012ed9d5fdb4f9c97aab22c8dac85 (diff) | |
Merge branch 'master' into new_vfs_library
Diffstat (limited to 'src/organizercore.h')
| -rw-r--r-- | src/organizercore.h | 26 |
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 ¤tDirectory, const QString &steamAppID, const QString &customOverwrite);
+ void spawnBinary(const QFileInfo &binary, const QString &arguments = "",
+ const QDir ¤tDirectory = QDir(),
+ const QString &steamAppID = "",
+ const QString &customOverwrite = "");
+
+ HANDLE spawnBinaryDirect(const QFileInfo &binary, const QString &arguments,
+ const QString &profileName,
+ const QDir ¤tDirectory,
+ 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 ¤tDirectory = QDir(),
- const QString &steamAppID = "",
- const QString &customOverwrite = "");
+ bool waitForProcessCompletion(HANDLE handle, LPDWORD exitCode);
private slots:
|
