summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 98e5157)
raw | patch | inline | side by side (parent: 98e5157)
author | Max Kellermann <max@duempel.org> | |
Fri, 3 Oct 2008 12:26:27 +0000 (14:26 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Fri, 3 Oct 2008 12:26:27 +0000 (14:26 +0200) |
The future is now!
src/screen_search.c | patch | blob | history |
diff --git a/src/screen_search.c b/src/screen_search.c
index a1f5045acf0b2d42905994abb305eebcb76d3947..ba5b1c0d5013ae6cc4561bee907f572b0da07985 100644 (file)
--- a/src/screen_search.c
+++ b/src/screen_search.c
#include <glib.h>
#include <ncurses.h>
-/* new search stuff with qball's libmpdclient */
-#define FUTURE
-
-#ifdef FUTURE
-
extern gint mpdclient_finish_command(mpdclient_t *c);
typedef struct {
return -1;
}
-#endif
-
#define SEARCH_TITLE 0
#define SEARCH_ARTIST 1
#define SEARCH_ALBUM 2
}
}
-#ifdef FUTURE
static mpdclient_filelist_t *
filelist_search(mpdclient_t *c, mpd_unused int exact_match, int table,
gchar *local_pattern)
return fl;
}
-#else
-#define search_advanced_query(pattern,c) (NULL)
-#endif
static void
search_new(screen_t *screen, mpdclient_t *c)