diff options
| author | Mikaƫl Capelle <capelle.mikael@gmail.com> | 2024-06-09 12:18:17 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-09 12:18:17 +0200 |
| commit | 88c386d74d7d94ec16d4d84ed674eb51e31647ac (patch) | |
| tree | adf0b2537f12d11d8df77f68a84926d15b063554 /src/organizerproxy.h | |
| parent | c43535f5bcf1043c3b9c00c77967267cf1acf60f (diff) | |
Refactoring of game features for better management. (#2043)
Diffstat (limited to 'src/organizerproxy.h')
| -rw-r--r-- | src/organizerproxy.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/organizerproxy.h b/src/organizerproxy.h index 75146432..fbae7cde 100644 --- a/src/organizerproxy.h +++ b/src/organizerproxy.h @@ -8,6 +8,7 @@ #include "organizercore.h" +class GameFeaturesProxy; class PluginContainer; class DownloadManagerProxy; class ModListProxy; @@ -59,10 +60,12 @@ public: // IOrganizer interface const std::function<bool(const FileInfo&)>& filter) const override; virtual std::shared_ptr<const MOBase::IFileTree> virtualFileTree() const override; - virtual MOBase::IDownloadManager* downloadManager() const; - virtual MOBase::IPluginList* pluginList() const; - virtual MOBase::IModList* modList() const; + virtual MOBase::IDownloadManager* downloadManager() const override; + virtual MOBase::IPluginList* pluginList() const override; + virtual MOBase::IModList* modList() const override; virtual MOBase::IProfile* profile() const override; + virtual MOBase::IGameFeatures* gameFeatures() const override; + virtual HANDLE startApplication(const QString& executable, const QStringList& args = QStringList(), const QString& cwd = "", const QString& profile = "", @@ -151,6 +154,7 @@ private: std::unique_ptr<DownloadManagerProxy> m_DownloadManagerProxy; std::unique_ptr<ModListProxy> m_ModListProxy; std::unique_ptr<PluginListProxy> m_PluginListProxy; + std::unique_ptr<GameFeaturesProxy> m_GameFeaturesProxy; }; #endif // ORGANIZERPROXY_H |
