db/Interface: document CollectUniqueTags()

This commit is contained in:
Max Kellermann 2018-11-19 12:48:25 +01:00
parent 12f4a8255a
commit 841694ccf2

View File

@ -105,6 +105,11 @@ public:
return Visit(selection, VisitDirectory(), visit_song);
}
/**
* Collect unique values of the given tag type.
*
* Throws on error.
*/
virtual std::map<std::string, std::set<std::string>> CollectUniqueTags(const DatabaseSelection &selection,
TagType tag_type,
TagType group=TAG_NUM_OF_ITEM_TYPES) const = 0;