From 6f72fe3ecffd8ee8218fc5a19ec45b0447323c12 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 29 Aug 2008 09:38:27 +0200 Subject: tag: moved code to tag_id3.c The ID3 code uses only the public tag API, but is otherwise unrelated. Move it to a separate source file. --- src/tag.h | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/tag.h') diff --git a/src/tag.h b/src/tag.h index 0f525210..51cd64cd 100644 --- a/src/tag.h +++ b/src/tag.h @@ -19,15 +19,9 @@ #ifndef TAG_H #define TAG_H -#include "../config.h" - #include "mpd_types.h" #include "os_compat.h" -#ifdef HAVE_ID3TAG -#include -#endif - enum tag_type { TAG_ITEM_ARTIST, TAG_ITEM_ALBUM, @@ -56,14 +50,8 @@ struct tag { mpd_uint8 numOfItems; }; -#ifdef HAVE_ID3TAG -struct tag *tag_id3_import(struct id3_tag *); -#endif - struct tag *tag_ape_load(char *file); -struct tag *tag_id3_load(char *file); - struct tag *tag_new(void); void tag_lib_init(void); -- cgit v1.2.3