add allowsFiltering / allowsSearching checks

This commit is contained in:
Andrzej Rybczak
2012-09-03 16:50:01 +02:00
parent ce80c21ea5
commit 506e79b4b1
14 changed files with 82 additions and 3 deletions

View File

@@ -272,6 +272,11 @@ void Playlist::MouseButtonPressed(MEVENT me)
/***********************************************************************/
bool Playlist::allowsFiltering()
{
return true;
}
std::string Playlist::currentFilter()
{
std::string filter;
@@ -292,6 +297,11 @@ void Playlist::applyFilter(const std::string &filter)
/***********************************************************************/
bool Playlist::allowsSearching()
{
return true;
}
bool Playlist::search(const std::string &constraint)
{
bool result = false;