summaryrefslogtreecommitdiff
path: root/src/organizercore.h
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2019-10-18 23:11:19 -0400
committerisanae <14251494+isanae@users.noreply.github.com>2019-11-06 07:42:56 -0500
commit4fb79cae456986795be3f504d440048e476dffb3 (patch)
treef5438ba98c34f033303db3d0ff1befddbc56cc6f /src/organizercore.h
parent74631ae88e36f7ccc1ea80c5a56d686637c325c6 (diff)
renamed executeFileVirtualized() to runFile()
renamed spawnBinary() to runExecutable() renamed spawnBinaryDirect() to spawnAndWait()
Diffstat (limited to 'src/organizercore.h')
-rw-r--r--src/organizercore.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/organizercore.h b/src/organizercore.h
index 4a8f90d1..6628452c 100644
--- a/src/organizercore.h
+++ b/src/organizercore.h
@@ -158,15 +158,16 @@ public:
QWidget* parent, const QFileInfo &targetInfo,
QFileInfo &binaryInfo, QString &arguments, FileExecutionTypes& type);
- bool executeFileVirtualized(QWidget* parent, const QFileInfo& targetInfo);
bool previewFileWithAlternatives(QWidget* parent, QString filename, int selectedOrigin=-1);
bool previewFile(QWidget* parent, const QString& originName, const QString& path);
- void spawnBinary(const QFileInfo &binary, const QString &arguments = "",
- const QDir &currentDirectory = QDir(),
- const QString &steamAppID = "",
- const QString &customOverwrite = "",
- const QList<MOBase::ExecutableForcedLoadSetting> &forcedLibraries = QList<MOBase::ExecutableForcedLoadSetting>());
+ bool runFile(QWidget* parent, const QFileInfo& targetInfo);
+
+ void runExecutable(
+ const QFileInfo &binary, const QString &arguments,
+ const QDir &currentDirectory, const QString &steamAppID={},
+ const QString &customOverwrite={},
+ const QList<MOBase::ExecutableForcedLoadSetting> &forcedLibraries={});
void loginSuccessfulUpdate(bool necessary);
void loginFailedUpdate(const QString &message);
@@ -300,7 +301,7 @@ private:
const MOShared::DirectoryEntry *directoryEntry,
int createDestination);
- HANDLE spawnBinaryDirect(const QFileInfo &binary, const QString &arguments,
+ HANDLE spawnAndWait(const QFileInfo &binary, const QString &arguments,
const QString &profileName,
const QDir &currentDirectory,
const QString &steamAppID,