menu: remove search related methods
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
#include <unordered_map>
|
||||
|
||||
#include "interfaces.h"
|
||||
#include "regex_filter.h"
|
||||
#include "screen.h"
|
||||
#include "song.h"
|
||||
|
||||
@@ -54,9 +55,9 @@ struct Playlist: Screen<NC::Menu<MPD::Song>>, Filterable, HasSongs, Searchable,
|
||||
|
||||
// Searchable implementation
|
||||
virtual bool allowsSearching();
|
||||
virtual bool search(const std::string &constraint) OVERRIDE;
|
||||
virtual void nextFound(bool wrap) OVERRIDE;
|
||||
virtual void prevFound(bool wrap) OVERRIDE;
|
||||
virtual bool setSearchConstraint(const std::string &constraint) OVERRIDE;
|
||||
virtual void findForward(bool wrap) OVERRIDE;
|
||||
virtual void findBackward(bool wrap) OVERRIDE;
|
||||
|
||||
// HasSongs implementation
|
||||
virtual ProxySongList proxySongList() OVERRIDE;
|
||||
@@ -100,6 +101,8 @@ private:
|
||||
|
||||
bool m_reload_total_length;
|
||||
bool m_reload_remaining;
|
||||
|
||||
RegexFilter<MPD::Song> m_search_predicate;
|
||||
};
|
||||
|
||||
extern Playlist *myPlaylist;
|
||||
|
||||
Reference in New Issue
Block a user