mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Add Database::user_known_bash_tags()
This commit is contained in:
@@ -68,6 +68,15 @@ std::vector<std::string> Database::GetKnownBashTags() const {
|
||||
}
|
||||
}
|
||||
|
||||
std::vector<std::string> Database::GetUserKnownBashTags() const {
|
||||
try {
|
||||
return convert<std::string>(
|
||||
database_->user_known_bash_tags());
|
||||
} catch (const ::rust::Error& e) {
|
||||
std::rethrow_exception(mapError(e));
|
||||
}
|
||||
}
|
||||
|
||||
std::vector<Message> Database::GetGeneralMessages(
|
||||
bool evaluateConditions) const {
|
||||
try {
|
||||
|
||||
@@ -30,6 +30,8 @@ public:
|
||||
|
||||
std::vector<std::string> GetKnownBashTags() const override;
|
||||
|
||||
std::vector<std::string> GetUserKnownBashTags() const override;
|
||||
|
||||
std::vector<Message> GetGeneralMessages(
|
||||
bool evaluateConditions = false) const override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user