diff options
| author | Thomas Tanner <trtanner@btinternet.com> | 2015-11-28 14:53:32 +0000 |
|---|---|---|
| committer | Thomas Tanner <trtanner@btinternet.com> | 2015-11-28 14:53:32 +0000 |
| commit | 9e2bcffc32157b99a2d7364b869a4423ba827a32 (patch) | |
| tree | 0983cb8b1b915c016d39b9e2632562fcc813b40b /src/organizercore.h | |
| parent | ca54ee2e9a8f1d49d81d5c3b66a860b9b16992d6 (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.h | 5 |
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;
|
