From 841694ccf2acb75f75a812421ddb8e99a3f9d48b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 19 Nov 2018 12:48:25 +0100 Subject: db/Interface: document CollectUniqueTags() --- src/db/Interface.hxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/db') diff --git a/src/db/Interface.hxx b/src/db/Interface.hxx index 7a700557f..2bfdd0a44 100644 --- a/src/db/Interface.hxx +++ b/src/db/Interface.hxx @@ -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> CollectUniqueTags(const DatabaseSelection &selection, TagType tag_type, TagType group=TAG_NUM_OF_ITEM_TYPES) const = 0; -- cgit v1.2.3