diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2020-12-02 21:04:18 +0100 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2020-12-02 21:04:18 +0100 |
| commit | facb4e7fe4bcc30539ea3fc79a23ab217735a5ab (patch) | |
| tree | 141b895c38c07196870b29469543d13e0e450440 /src/installationmanager.h | |
| parent | 90154e621af03bc0464a17821f56385e6b0f6ac5 (diff) | |
Do not store installers in InstallationManager, use the ones from PluginContainer.
Diffstat (limited to 'src/installationmanager.h')
| -rw-r--r-- | src/installationmanager.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/installationmanager.h b/src/installationmanager.h index 2378178a..277c276a 100644 --- a/src/installationmanager.h +++ b/src/installationmanager.h @@ -129,12 +129,6 @@ public: static QString getErrorString(Archive::Error errorCode); /** - * @brief register an installer-plugin - * @param the installer to register - */ - void registerInstaller(MOBase::IPluginInstaller *installer); - - /** * @return the extensions of archives supported by this installation manager. */ QStringList getSupportedExtensions() const override; @@ -256,13 +250,6 @@ signals: private: - struct ByPriority { - bool operator()(MOBase::IPluginInstaller *LHS, MOBase::IPluginInstaller *RHS) const - { - return LHS->priority() > RHS->priority(); - } - }; - struct CaseInsensitive { bool operator() (const QString &LHS, const QString &RHS) const { @@ -295,8 +282,6 @@ private: QString m_ModsDirectory; QString m_DownloadsDirectory; - std::vector<MOBase::IPluginInstaller*> m_Installers; - // Archive management. std::unique_ptr<Archive> m_ArchiveHandler; QString m_CurrentFile; |
