diff options
| author | Mikaƫl Capelle <capelle.mikael@gmail.com> | 2020-11-05 10:43:58 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-05 10:43:58 +0100 |
| commit | a63a27840bfa7b08f295bfe682ebc33d70a613b9 (patch) | |
| tree | 3bf8b3cf5d1ea618c7ac894b6bd58b00e4cefeb5 /src/modinfowithconflictinfo.h | |
| parent | a7d4f2a0c40d35d547e93994be3f92b6d43a0833 (diff) | |
| parent | 780cc2a35217e887c9bba0573be1146505114521 (diff) | |
Merge pull request #1281 from Holt59/imodinterface-filetree
Add IModInterface::fileTree().
Diffstat (limited to 'src/modinfowithconflictinfo.h')
| -rw-r--r-- | src/modinfowithconflictinfo.h | 24 |
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, |
