summaryrefslogtreecommitdiff
path: root/src/modinfowithconflictinfo.h
diff options
context:
space:
mode:
authorSeth Riley <17361645+Qudix@users.noreply.github.com>2020-11-06 12:02:43 -0600
committerSeth Riley <17361645+Qudix@users.noreply.github.com>2020-11-06 12:02:43 -0600
commited1085d5673e0d307a6172eaaa1be1e9d70e2234 (patch)
tree1e068a2f08e106c8ce15be7034f19336836cc17a /src/modinfowithconflictinfo.h
parent34e1d05c28bf4676ed8d3e97e969187a05d215b6 (diff)
parentb909677c3fc6a7b7a1993d341a2bd420715e292a (diff)
Merge branch 'master' of https://github.com/ModOrganizer2/modorganizer into master
Diffstat (limited to 'src/modinfowithconflictinfo.h')
-rw-r--r--src/modinfowithconflictinfo.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/modinfowithconflictinfo.h b/src/modinfowithconflictinfo.h
index 7109b83d..feded99b 100644
--- a/src/modinfowithconflictinfo.h
+++ b/src/modinfowithconflictinfo.h
@@ -34,7 +34,18 @@ public:
*
* @return true if the content is there, false otherwise.
*/
- virtual bool hasContent(int content) const override;
+ virtual bool hasContent(int content) const override; /**
+ * @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.
+ */
+ std::shared_ptr<const MOBase::IFileTree> fileTree() const override;
+
+public:
/**
* @brief clear all caches held for this mod
@@ -78,17 +89,6 @@ protected:
**/
virtual std::set<int> doGetContents() const { return {}; }
- /**
- * @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.
- */
- std::shared_ptr<const MOBase::IFileTree> contentFileTree() const;
-
ModInfoWithConflictInfo(
PluginContainer* pluginContainer,
const MOBase::IPluginGame* gamePlugin,