diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2011-01-06 04:01:17 +0100 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2011-01-06 04:05:46 +0100 |
commit | 78c5f37d50ed5687bd5525954838f62b50de0690 (patch) | |
tree | 2def0d74af305f040f6e48e8f644621cd8add64e /commands.h | |
parent | e755f01e631e832e3ef529049888d62af38d2b38 (diff) |
Reworked "find" to allow for more sophisticated searches.
The usage of the "find" command is as follows:
find SEARCH
where SEARCH is either a simple string to search for, or key:value pairs
with the following keys:
artist
album
title
Diffstat (limited to 'commands.h')
-rw-r--r-- | commands.h | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -24,10 +24,6 @@ class Commands { typedef boost::function<std::vector<std::string> (Commands*)> Handler; std::map<std::string, Handler> handlers; - typedef boost::function<std::vector<MusicListing::p> (const std::string artist)> FindFunction; - //! Handlers for the find command. - std::map<std::string, FindFunction> find_handlers; - boost::asio::io_service& io_service; //! Command arguments. std::vector<std::string>& args; |