From 60e66b47b6748c48f9ee36e9ef80bc4b5d1a09e1 Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Fri, 11 Nov 2016 20:26:42 +0100 Subject: searchable: retrieve currently applied search constraint --- src/playlist.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/playlist.h') diff --git a/src/playlist.h b/src/playlist.h index d922795b..8661d8eb 100644 --- a/src/playlist.h +++ b/src/playlist.h @@ -50,9 +50,10 @@ struct Playlist: Screen, HasSongs, Searchable, Tabbable // Searchable implementation virtual bool allowsSearching() OVERRIDE; + virtual const std::string &searchConstraint() OVERRIDE; virtual void setSearchConstraint(const std::string &constraint) OVERRIDE; - virtual void clearConstraint() OVERRIDE; - virtual bool find(SearchDirection direction, bool wrap, bool skip_current) OVERRIDE; + virtual void clearSearchConstraint() OVERRIDE; + virtual bool search(SearchDirection direction, bool wrap, bool skip_current) OVERRIDE; // HasSongs implementation virtual bool itemAvailable() OVERRIDE; -- cgit v1.2.3