diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2021-01-02 19:07:50 +0100 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2021-01-02 19:07:50 +0100 |
| commit | d96dcf02b131808a25045afc23667ed6a26274a6 (patch) | |
| tree | 01a42a3c59ed664d2ea9e1e830565d3e2260ca8b /src/modinforegular.h | |
| parent | c7abae79b3042cb5a9ab1174a9955d47e6e38fb8 (diff) | |
Refactoring of ModInfo to give access to the core. Remove ModInfo::remove() completely.
Diffstat (limited to 'src/modinforegular.h')
| -rw-r--r-- | src/modinforegular.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/modinforegular.h b/src/modinforegular.h index f2e0b82d..08660993 100644 --- a/src/modinforegular.h +++ b/src/modinforegular.h @@ -187,12 +187,6 @@ public: virtual void setIsTracked(bool tracked) override; /** - * @brief delete the mod from the disc. This does not update the global ModInfo structure or indices - * @return true if the mod was successfully removed - **/ - bool remove() override; - - /** * @brief endorse or un-endorse the mod * @param doEndorse if true, the mod is endorsed, if false, it's un-endorsed. * @note if doEndorse doesn't differ from the current value, nothing happens. @@ -424,7 +418,7 @@ protected: virtual std::set<int> doGetContents() const override; - ModInfoRegular(PluginContainer *pluginContainer, const MOBase::IPluginGame *game, const QDir &path, MOShared::DirectoryEntry **directoryStructure); + ModInfoRegular(const QDir& path, OrganizerCore& core); private: |
