summaryrefslogtreecommitdiff
path: root/src/playlist_editor.h
diff options
context:
space:
mode:
authorAndrzej Rybczak <electricityispower@gmail.com>2012-09-03 16:50:01 +0200
committerAndrzej Rybczak <electricityispower@gmail.com>2012-09-03 16:50:01 +0200
commit506e79b4b1e1ccc9181fc507c871091ee0a7da23 (patch)
tree0d2fee698ad356c2e9a43fc0edde7d7c7aef473c /src/playlist_editor.h
parentce80c21ea5967b3bc6b416e36453af1b90382322 (diff)
add allowsFiltering / allowsSearching checks
Diffstat (limited to 'src/playlist_editor.h')
-rw-r--r--src/playlist_editor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/playlist_editor.h b/src/playlist_editor.h
index 266a0417..9c84480c 100644
--- a/src/playlist_editor.h
+++ b/src/playlist_editor.h
@@ -40,10 +40,12 @@ class PlaylistEditor : public Screen<NC::Window>, public Filterable, public HasS
virtual bool isTabbable() { return true; }
/// Filterable implementation
+ virtual bool allowsFiltering();
virtual std::string currentFilter();
virtual void applyFilter(const std::string &filter);
/// Searchable implementation
+ virtual bool allowsSearching();
virtual bool search(const std::string &constraint);
virtual void nextFound(bool wrap);
virtual void prevFound(bool wrap);