summaryrefslogtreecommitdiff
path: root/src/modinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/modinfo.h')
-rw-r--r--src/modinfo.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/modinfo.h b/src/modinfo.h
index 7223cece..e5e65c82 100644
--- a/src/modinfo.h
+++ b/src/modinfo.h
@@ -190,8 +190,7 @@ public: // Static functions:
* @brief Run a limited batch of mod update checks for "newest version" information.
*
*/
- static void manualUpdateCheck(
- PluginContainer *pluginContainer, QObject *receiver, std::multimap<QString, int> IDs);
+ static void manualUpdateCheck(QObject *receiver, std::multimap<QString, int> IDs);
/**
* @brief Query nexus information for every mod and update the "newest version" information.
@@ -368,6 +367,17 @@ public: // IModInterface implementations / Re-declaration
*/
virtual MOBase::EndorsedState endorsedState() const override { return MOBase::EndorsedState::ENDORSED_NEVER; }
+ /**
+ * @brief Retrieve a file tree corresponding to the underlying disk content
+ * of this mod.
+ *
+ * The file tree should not be cached since it is already cached and updated when
+ * required.
+ *
+ * @return a file tree representing the content of this mod.
+ */
+ virtual std::shared_ptr<const MOBase::IFileTree> fileTree() const = 0;
+
public: // Mutable operations:
/**