summaryrefslogtreecommitdiff
path: root/src/organizercore.h
diff options
context:
space:
mode:
authorMikaƫl Capelle <capelle.mikael@gmail.com>2024-06-09 12:18:17 +0200
committerGitHub <noreply@github.com>2024-06-09 12:18:17 +0200
commit88c386d74d7d94ec16d4d84ed674eb51e31647ac (patch)
treeadf0b2537f12d11d8df77f68a84926d15b063554 /src/organizercore.h
parentc43535f5bcf1043c3b9c00c77967267cf1acf60f (diff)
Refactoring of game features for better management. (#2043)
Diffstat (limited to 'src/organizercore.h')
-rw-r--r--src/organizercore.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/organizercore.h b/src/organizercore.h
index 5bf6f4b6..726babfd 100644
--- a/src/organizercore.h
+++ b/src/organizercore.h
@@ -39,6 +39,7 @@ class ModListSortProxy;
class PluginListSortProxy;
class Profile;
class IUserInterface;
+class GameFeatures;
class PluginContainer;
class DirectoryRefresher;
@@ -106,7 +107,7 @@ public:
struct ModDataContentHolder
{
- using Content = ModDataContent::Content;
+ using Content = MOBase::ModDataContent::Content;
/**
* @return true if the hold list of contents is empty, false otherwise.
@@ -205,7 +206,7 @@ public:
/**
* @brief Construct a ModDataContentHold holding the given list of contents.
*/
- ModDataContentHolder(std::vector<ModDataContent::Content> contents)
+ ModDataContentHolder(std::vector<MOBase::ModDataContent::Content> contents)
: m_Contents(std::move(contents))
{}
@@ -275,6 +276,9 @@ public:
//
PluginContainer& pluginContainer() const;
+ // return the game features
+ GameFeatures& gameFeatures() const;
+
MOBase::IPluginGame const* managedGame() const;
/**