mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Add include_user_metadata parameter to Database::known_bash_tags()
The C++ wrapper defaults it to true, so the behaviour hasn't changed for existing callers.
This commit is contained in:
@@ -61,8 +61,7 @@ public:
|
||||
* The relative or absolute path to the masterlist file that should be
|
||||
* loaded.
|
||||
*/
|
||||
virtual void LoadMasterlist(
|
||||
const std::filesystem::path& masterlistPath) = 0;
|
||||
virtual void LoadMasterlist(const std::filesystem::path& masterlistPath) = 0;
|
||||
|
||||
/**
|
||||
* @brief Loads the masterlist and masterlist prelude from the paths
|
||||
@@ -141,9 +140,14 @@ public:
|
||||
/**
|
||||
* @brief Gets the Bash Tags that are listed in the loaded metadata lists.
|
||||
* @details Bash Tag suggestions can include Bash Tags not in this list.
|
||||
* @param includeUserMetadata
|
||||
* If true, any Bash Tag metadata present in the userlist is included
|
||||
* in the returned metadata, otherwise the metadata returned only
|
||||
* includes metadata from the masterlist.
|
||||
* @returns The Bash Tag names, which may include duplicates.
|
||||
*/
|
||||
virtual std::vector<std::string> GetKnownBashTags() const = 0;
|
||||
virtual std::vector<std::string> GetKnownBashTags(
|
||||
bool includeUserMetadata = true) const = 0;
|
||||
|
||||
/**
|
||||
* @brief Gets the Bash Tags that are listed in the loaded userlist.
|
||||
|
||||
Reference in New Issue
Block a user