summaryrefslogtreecommitdiff
path: root/src/playlist.h
diff options
context:
space:
mode:
authorAndrzej Rybczak <electricityispower@gmail.com>2016-11-11 20:26:42 +0100
committerAndrzej Rybczak <electricityispower@gmail.com>2016-11-11 20:26:42 +0100
commit60e66b47b6748c48f9ee36e9ef80bc4b5d1a09e1 (patch)
tree5d4204e0c3db4731002cfbe6d7eaaa60da4b1db0 /src/playlist.h
parentcbba364685b25d436e620bebcd37b024149d4171 (diff)
searchable: retrieve currently applied search constraint
Diffstat (limited to 'src/playlist.h')
-rw-r--r--src/playlist.h5
1 files changed, 3 insertions, 2 deletions
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<SongMenu>, 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;