diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-06-14 21:28:40 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2019-06-15 14:40:40 -0400 |
| commit | d7dc13e3b9ac2932531d9518c9d303cd302e1539 (patch) | |
| tree | 200731a44f6469264b2f0bb0ad3f0609827ea4b4 /src/executableslist.h | |
| parent | 5ca4ea500439bdeee85ca2103374618f2608808d (diff) | |
fixes plugin executables having empty fields when upgrading from 2.2.0
Diffstat (limited to 'src/executableslist.h')
| -rw-r--r-- | src/executableslist.h | 21 |
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)
|
