From 4542bdd239f3f3d89fb9f60a0198ab76452e9c4e Mon Sep 17 00:00:00 2001 From: Přemysl Janouch Date: Tue, 11 Oct 2016 09:40:01 +0200 Subject: Move the MPD client interface to liberty It seems like there aren't going to be any big changes any time soon. --- nncmpp.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'nncmpp.c') diff --git a/nncmpp.c b/nncmpp.c index e5e98a4..c2090c3 100644 --- a/nncmpp.c +++ b/nncmpp.c @@ -62,11 +62,9 @@ enum #define LIBERTY_WANT_POLLER #define LIBERTY_WANT_ASYNC #define LIBERTY_WANT_PROTO_HTTP +#define LIBERTY_WANT_PROTO_MPD #include "liberty/liberty.c" -#include -#include "mpd.c" - #include #include #ifndef TIOCGWINSZ @@ -2395,9 +2393,6 @@ debug_tab_init (void) // --- MPD interface ----------------------------------------------------------- -// TODO: this entire thing has been slavishly copy-pasted from dwmstatus -// TODO: try to move some of this code to mpd.c - static void mpd_update_playback_state (void) { -- cgit v1.2.3-54-g00ecf