summaryrefslogtreecommitdiff
path: root/src/organizercore.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/organizercore.h')
-rw-r--r--src/organizercore.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/organizercore.h b/src/organizercore.h
index a4d1a799..af741964 100644
--- a/src/organizercore.h
+++ b/src/organizercore.h
@@ -19,6 +19,7 @@
#include <delayedfilewriter.h>
#include <boost/signals2.hpp>
#include "executableinfo.h"
+#include "moddatacontent.h"
#include <log.h>
#include <QDir>
@@ -122,6 +123,12 @@ public:
MOBase::IPluginGame const *managedGame() const;
+ /**
+ * @return the list of contents for the currently managed game, or an empty vector
+ * if the game plugin does not implement the ModDataContent feature.
+ */
+ const std::vector<ModDataContent::Content>& modDataContents() const { return m_Contents; }
+
bool isArchivesInit() const { return m_ArchivesInit; }
bool saveCurrentLists();
@@ -305,6 +312,7 @@ private:
PluginContainer *m_PluginContainer;
QString m_GameName;
MOBase::IPluginGame *m_GamePlugin;
+ std::vector<ModDataContent::Content> m_Contents;
Profile *m_CurrentProfile;