From eee102e5ddd2c400d707bffe21d9c6ec74507371 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 16 Sep 2008 19:11:39 +0200 Subject: mpdclient: moved code to playlist.c Move everything which manipulates the mpdclient_playlist struct to playlist.c. Many of the functions get a mpdclient pointer instead of a playlist; this will be changed later. The functions mpdclient_playlist_update() and mpdclient_playlist_update_changes() stay in mpdclient.c for now, since they are tightly connected to the client code. --- src/mpdclient.h | 33 ++++----------------------------- 1 file changed, 4 insertions(+), 29 deletions(-) (limited to 'src/mpdclient.h') diff --git a/src/mpdclient.h b/src/mpdclient.h index f1b993756..2ce803e86 100644 --- a/src/mpdclient.h +++ b/src/mpdclient.h @@ -2,8 +2,7 @@ #define MPDCLIENT_H #include "libmpdclient.h" - -#include +#include "playlist.h" #define MPD_VERSION_EQ(c,x,y,z) (c->connection->version[0] == x && \ c->connection->version[1] == y && \ @@ -14,22 +13,6 @@ (c->connection->version[0]==x && c->connection->version[1]==y && \ c->connection->version[2]