diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2020-11-04 21:46:39 +0100 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2020-11-04 21:46:39 +0100 |
| commit | 780cc2a35217e887c9bba0573be1146505114521 (patch) | |
| tree | 6ade81a3c53b7cb21bbf651e9e3e4e94cc561f98 /src/modinfo.h | |
| parent | f507305ffbeba74e9ea0fe6f286af0f8907264e7 (diff) | |
Add IModInterface::fileTree().
Diffstat (limited to 'src/modinfo.h')
| -rw-r--r-- | src/modinfo.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/modinfo.h b/src/modinfo.h index 7223cece..ad917c17 100644 --- a/src/modinfo.h +++ b/src/modinfo.h @@ -368,6 +368,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: /** |
