summaryrefslogtreecommitdiff
path: root/src/modinforegular.h
diff options
context:
space:
mode:
authorMikaël Capelle <capelle.mikael@gmail.com>2021-01-02 19:07:50 +0100
committerMikaël Capelle <capelle.mikael@gmail.com>2021-01-02 19:07:50 +0100
commitd96dcf02b131808a25045afc23667ed6a26274a6 (patch)
tree01a42a3c59ed664d2ea9e1e830565d3e2260ca8b /src/modinforegular.h
parentc7abae79b3042cb5a9ab1174a9955d47e6e38fb8 (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.h8
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: