summaryrefslogtreecommitdiff
path: root/src/organizercore.h
diff options
context:
space:
mode:
authorThomas Tanner <trtanner@btinternet.com>2015-11-28 14:53:32 +0000
committerThomas Tanner <trtanner@btinternet.com>2015-11-28 14:53:32 +0000
commit9e2bcffc32157b99a2d7364b869a4423ba827a32 (patch)
tree0983cb8b1b915c016d39b9e2632562fcc813b40b /src/organizercore.h
parentca54ee2e9a8f1d49d81d5c3b66a860b9b16992d6 (diff)
Reworked startup considerably so now no longer dependant on GameInfo
Did some const correctness to the "managed_game" property as you shouldn't really be altering the plugin details whilst MO is running
Diffstat (limited to 'src/organizercore.h')
-rw-r--r--src/organizercore.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/organizercore.h b/src/organizercore.h
index c206e5e7..5cfbaca4 100644
--- a/src/organizercore.h
+++ b/src/organizercore.h
@@ -73,7 +73,7 @@ public:
void connectPlugins(PluginContainer *container);
void disconnectPlugins();
- void setManagedGame(const QString &gameName, const QString &gamePath);
+ void setManagedGame(const MOBase::IPluginGame *game);
void updateExecutablesList(QSettings &settings);
@@ -100,7 +100,6 @@ public:
PluginListSortProxy *createPluginListProxyModel();
MOBase::IPluginGame const *managedGame() const;
- MOBase::IPluginGame *managedGameForUpdate() const;
bool isArchivesInit() const { return m_ArchivesInit; }
@@ -234,7 +233,7 @@ private:
IUserInterface *m_UserInterface;
PluginContainer *m_PluginContainer;
QString m_GameName;
- MOBase::IPluginGame *m_GamePlugin;
+ MOBase::IPluginGame const *m_GamePlugin;
Profile *m_CurrentProfile;