diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2020-11-04 20:57:50 -0500 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2020-11-04 20:57:50 -0500 |
| commit | e6a87a17987de5d8e462634777df31e2cae5c1a6 (patch) | |
| tree | 1d5fa9752f6949b62aa6a8148b07cea7b02d964c /src/modlist.h | |
| parent | f7b097e6ba3160b424204c719b615954601f76fe (diff) | |
added IPlugin::registered()
removed useless dummy interfaces because init() isn't called anymore
python plugins currently broken because init() isn't called on them
fixed create instance dialog being shown on startup even if portable instance existed
display a message when the last instance can't be found
fixed instance manager dialog failing to open the portable instance
Diffstat (limited to 'src/modlist.h')
| -rw-r--r-- | src/modlist.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/modlist.h b/src/modlist.h index 1a469ee7..385ca04c 100644 --- a/src/modlist.h +++ b/src/modlist.h @@ -397,25 +397,5 @@ private: };
-
-class DummyModList : public MOBase::IModList
-{
-public:
- QString displayName(const QString &internalName) const override;
- QStringList allMods() const override;
- QStringList allModsByProfilePriority(MOBase::IProfile *profile = nullptr) const override;
- MOBase::IModInterface* getMod(const QString& name) const override;
- bool removeMod(MOBase::IModInterface *mod) override;
- ModStates state(const QString &name) const override;
- bool setActive(const QString &name, bool active) override;
- int setActive(const QStringList& names, bool active) override;
- int priority(const QString &name) const override;
- bool setPriority(const QString &name, int newPriority) override;
- bool onModInstalled(const std::function<void(MOBase::IModInterface *)>& func) override;
- bool onModRemoved(const std::function<void(QString const&)>& func) override;
- bool onModStateChanged(const std::function<void(const std::map<QString, ModStates>&)> &func) override;
- bool onModMoved(const std::function<void (const QString &, int, int)> &func) override;
-};
-
#endif // MODLIST_H
|
