summaryrefslogtreecommitdiff
path: root/src/executableslist.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/executableslist.h')
-rw-r--r--src/executableslist.h21
1 files changed, 16 insertions, 5 deletions
diff --git a/src/executableslist.h b/src/executableslist.h
index 61bf6734..2d1dd28e 100644
--- a/src/executableslist.h
+++ b/src/executableslist.h
@@ -194,15 +194,26 @@ private:
/**
- * @brief add the executables preconfigured for this game
- **/
+ * @brief add the executables preconfigured for this game
+ **/
void addFromPlugin(MOBase::IPluginGame const *game, SetFlags flags);
/**
- * @brief add a new executable to the list
- * @param executable
- */
+ * @brief add a new executable to the list
+ * @param executable
+ */
void setExecutable(const Executable &exe, SetFlags flags);
+
+ /**
+ * returns the executables provided by the game plugin
+ **/
+ std::vector<Executable> getPluginExecutables(
+ MOBase::IPluginGame const *game) const;
+
+ /**
+ * called when MO is still using the old custom executables from 2.2.0
+ **/
+ void upgradeFromCustom(const MOBase::IPluginGame* game);
};
Q_DECLARE_OPERATORS_FOR_FLAGS(Executable::Flags)