diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-10-24 02:28:20 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2019-11-06 07:42:57 -0500 |
| commit | e43500eaf5d40bcd28ba5a820cdbc754cfb47e40 (patch) | |
| tree | 7e7fafe036453cc585855eb1f3275335c37e7fb6 /src/organizercore.h | |
| parent | 4fb79cae456986795be3f504d440048e476dffb3 (diff) | |
renamed runExecutable() to runExecutablefile()
added runExecutable() for Executable class, also used by runShortcut()
Diffstat (limited to 'src/organizercore.h')
| -rw-r--r-- | src/organizercore.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/organizercore.h b/src/organizercore.h index 6628452c..ca87a05c 100644 --- a/src/organizercore.h +++ b/src/organizercore.h @@ -163,11 +163,16 @@ public: bool runFile(QWidget* parent, const QFileInfo& targetInfo);
- void runExecutable(
+ bool runExecutableFile(
const QFileInfo &binary, const QString &arguments,
const QDir ¤tDirectory, const QString &steamAppID={},
const QString &customOverwrite={},
- const QList<MOBase::ExecutableForcedLoadSetting> &forcedLibraries={});
+ const QList<MOBase::ExecutableForcedLoadSetting> &forcedLibraries={},
+ bool refresh=true);
+
+ bool runExecutable(const Executable& exe, bool refresh=true);
+
+ bool runShortcut(const MOShortcut& shortcut);
void loginSuccessfulUpdate(bool necessary);
void loginFailedUpdate(const QString &message);
@@ -222,7 +227,6 @@ public: DownloadManager *downloadManager();
PluginList *pluginList();
ModList *modList();
- HANDLE runShortcut(const MOShortcut& shortcut);
HANDLE startApplication(const QString &executable, const QStringList &args, const QString &cwd, const QString &profile, const QString &forcedCustomOverwrite = "", bool ignoreCustomOverwrite = false);
bool waitForApplication(HANDLE processHandle, LPDWORD exitCode = nullptr);
HANDLE findAndOpenAUSVFSProcess(const std::vector<QString>& hiddenList, DWORD preferedParentPid);
|
