From 780cc2a35217e887c9bba0573be1146505114521 Mon Sep 17 00:00:00 2001 From: Mikaƫl Capelle Date: Wed, 4 Nov 2020 21:46:39 +0100 Subject: Add IModInterface::fileTree(). --- src/modinfo.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/modinfo.h') 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 fileTree() const = 0; + public: // Mutable operations: /** -- cgit v1.3.1