summaryrefslogtreecommitdiff
path: root/src/organizercore.h
diff options
context:
space:
mode:
authorJonathan Feenstra <26406078+JonathanFeenstra@users.noreply.github.com>2026-01-11 12:36:07 +0100
committerGitHub <noreply@github.com>2026-01-11 12:36:07 +0100
commit717b5ac389ea15350d32f813a3f03d908de0ab06 (patch)
treec698d35614132823507d6226ed8d4a2d291ab21c /src/organizercore.h
parent1505519ecd03e47c1c046c5c985aa947e06ff5ba (diff)
Add instanceName and profiles methods to plugin API (#2321)
Diffstat (limited to 'src/organizercore.h')
-rw-r--r--src/organizercore.h6
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(); }