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

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