From d7a88eecb171de8345d0ff87140ff4c499c01fb1 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 4 Oct 2022 11:18:40 -0600 Subject: [PATCH] libraryfetch: add description count --- libs/ardour/ardour/library.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/ardour/ardour/library.h b/libs/ardour/ardour/library.h index 5c807d7ec7..8ada7a4b02 100644 --- a/libs/ardour/ardour/library.h +++ b/libs/ardour/ardour/library.h @@ -66,6 +66,7 @@ class LIBARDOUR_API LibraryFetcher { int add (std::string const & root_dir); int get_descriptions (); + size_t n_descriptions() const { return _descriptions.size(); } void foreach_description (boost::function f) const; bool installed (LibraryDescription const & desc);