summaryrefslogtreecommitdiff
path: root/commands.h
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2011-01-06 04:01:17 +0100
committerJon Bergli Heier <snakebite@jvnv.net>2011-01-06 04:05:46 +0100
commit78c5f37d50ed5687bd5525954838f62b50de0690 (patch)
tree2def0d74af305f040f6e48e8f644621cd8add64e /commands.h
parente755f01e631e832e3ef529049888d62af38d2b38 (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.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/commands.h b/commands.h
index 78ecf48..3c351cf 100644
--- a/commands.h
+++ b/commands.h
@@ -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;