diff options
author | Kalle Wallin <kaw@linux.se> | 2004-06-14 18:32:31 +0000 |
---|---|---|
committer | Kalle Wallin <kaw@linux.se> | 2004-06-14 18:32:31 +0000 |
commit | 39758c8503fb5390afaceeff3dd5b0bca75feb97 (patch) | |
tree | 94f42a18c5cb0da8778e8525ded49fb98012bbfc /src/screen_keydef.c | |
parent | 7844008980d4d1b9cb7cbd4dda4ae912e12dd7a9 (diff) | |
download | mpd-39758c8503fb5390afaceeff3dd5b0bca75feb97.tar.gz mpd-39758c8503fb5390afaceeff3dd5b0bca75feb97.tar.xz mpd-39758c8503fb5390afaceeff3dd5b0bca75feb97.zip |
Major cleanup of the mpd client code (mpc->mpdclient)
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1481 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/screen_keydef.c')
-rw-r--r-- | src/screen_keydef.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/screen_keydef.c b/src/screen_keydef.c index 2dda43db9..809561b80 100644 --- a/src/screen_keydef.c +++ b/src/screen_keydef.c @@ -28,10 +28,9 @@ #ifdef ENABLE_KEYDEF_SCREEN #include "ncmpc.h" -#include "libmpdclient.h" +#include "mpdclient.h" #include "options.h" #include "conf.h" -#include "mpc.h" #include "command.h" #include "screen.h" #include "screen_utils.h" @@ -238,7 +237,7 @@ keydef_exit(void) } static void -keydef_open(screen_t *screen, mpd_client_t *c) +keydef_open(screen_t *screen, mpdclient_t *c) { if( cmds == NULL ) { @@ -283,7 +282,7 @@ keydef_title(char *str, size_t size) } static void -keydef_paint(screen_t *screen, mpd_client_t *c) +keydef_paint(screen_t *screen, mpdclient_t *c) { lw->clear = 1; list_window_paint(lw, list_callback, NULL); @@ -291,7 +290,7 @@ keydef_paint(screen_t *screen, mpd_client_t *c) } static void -keydef_update(screen_t *screen, mpd_client_t *c) +keydef_update(screen_t *screen, mpdclient_t *c) { if( lw->repaint ) { @@ -302,7 +301,7 @@ keydef_update(screen_t *screen, mpd_client_t *c) } static int -keydef_cmd(screen_t *screen, mpd_client_t *c, command_t cmd) +keydef_cmd(screen_t *screen, mpdclient_t *c, command_t cmd) { int length = LIST_LENGTH(); |