From d804a5e186b421c75e01338ce9d22601c78bbb38 Mon Sep 17 00:00:00 2001 From: Mikaƫl Capelle Date: Sun, 25 Oct 2020 16:53:31 +0100 Subject: Move IOrganizer::modsSortedByProfilePriority() to IModList::allModsByProfilePriority(). --- src/organizercore.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/organizercore.h') 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& func); bool onFinishedRun(const std::function& func); -- cgit v1.3.1