diff options
| author | Jonathan Feenstra <26406078+JonathanFeenstra@users.noreply.github.com> | 2026-01-11 12:36:07 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-11 12:36:07 +0100 |
| commit | 717b5ac389ea15350d32f813a3f03d908de0ab06 (patch) | |
| tree | c698d35614132823507d6226ed8d4a2d291ab21c /src/organizercore.h | |
| parent | 1505519ecd03e47c1c046c5c985aa947e06ff5ba (diff) | |
Add instanceName and profiles methods to plugin API (#2321)
Diffstat (limited to 'src/organizercore.h')
| -rw-r--r-- | src/organizercore.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/organizercore.h b/src/organizercore.h index d4ce1500..22c4f19a 100644 --- a/src/organizercore.h +++ b/src/organizercore.h @@ -45,6 +45,9 @@ class GameFeatures; class PluginContainer; class DirectoryRefresher; +#include <memory> +#include <vector> + namespace MOBase { template <typename T> @@ -270,6 +273,9 @@ public: Profile* currentProfile() const { return m_CurrentProfile.get(); } void setCurrentProfile(const QString& profileName); + QStringList profileNames() const; + std::shared_ptr<const MOBase::IProfile> getProfile(const QString& profileName) const; + std::vector<QString> enabledArchives(); MOBase::Version getVersion() const { return m_Updater.getVersion(); } |
