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.
This commit is contained in:
12
src/tag.h
12
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 <id3tag.h>
|
||||
#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);
|
||||
|
||||
Reference in New Issue
Block a user