diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2020-10-25 16:53:31 +0100 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2020-10-25 16:53:31 +0100 |
| commit | d804a5e186b421c75e01338ce9d22601c78bbb38 (patch) | |
| tree | 2962f72d47617ca6c7a28e1b1f9e20fa507f81a9 /src/organizercore.h | |
| parent | cca709baaeb415d4cc600d3274169c2db7c90bd9 (diff) | |
Move IOrganizer::modsSortedByProfilePriority() to IModList::allModsByProfilePriority().
Diffstat (limited to 'src/organizercore.h')
| -rw-r--r-- | src/organizercore.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/organizercore.h b/src/organizercore.h index 226c5c0a..95c7ef51 100644 --- a/src/organizercore.h +++ b/src/organizercore.h @@ -289,6 +289,15 @@ public: static void setGlobalCrashDumpsType(CrashDumpsType crashDumpsType);
static std::wstring crashDumpsPath();
+ /**
+ * @brief Returns the name of all the mods in the priority order of the given profile.
+ *
+ * @param profile Profile to use for the mod order.
+ *
+ * @return the name of all the mods in the priority order of the given profile.
+ */
+ QStringList modsSortedByProfilePriority(Profile* profile) const;
+
public:
MOBase::IModRepositoryBridge *createNexusBridge() const;
QString profileName() const;
@@ -318,7 +327,6 @@ public: PluginList *pluginList();
ModList *modList();
void refresh(bool saveChanges = true);
- QStringList modsSortedByProfilePriority() const;
bool onAboutToRun(const std::function<bool(const QString&)>& func);
bool onFinishedRun(const std::function<void(const QString&, unsigned int)>& func);
|
