From 6a9ab8bc0e2f5d34803513bb2d94d041a607a58c Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 30 Jul 2013 20:10:24 +0200 Subject: tag: move enum tag_type to TagType.h --- src/tag.h | 34 +--------------------------------- 1 file changed, 1 insertion(+), 33 deletions(-) (limited to 'src/tag.h') diff --git a/src/tag.h b/src/tag.h index 3b47148a4..bd376a1f5 100644 --- a/src/tag.h +++ b/src/tag.h @@ -20,6 +20,7 @@ #ifndef MPD_TAG_H #define MPD_TAG_H +#include "TagType.h" #include "gcc.h" #include @@ -27,39 +28,6 @@ #include #include -/** - * Codes for the type of a tag item. - */ -enum tag_type { - TAG_ARTIST, - TAG_ARTIST_SORT, - TAG_ALBUM, - TAG_ALBUM_ARTIST, - TAG_ALBUM_ARTIST_SORT, - TAG_TITLE, - TAG_TRACK, - TAG_NAME, - TAG_GENRE, - TAG_DATE, - TAG_COMPOSER, - TAG_PERFORMER, - TAG_COMMENT, - TAG_DISC, - - TAG_MUSICBRAINZ_ARTISTID, - TAG_MUSICBRAINZ_ALBUMID, - TAG_MUSICBRAINZ_ALBUMARTISTID, - TAG_MUSICBRAINZ_TRACKID, - - TAG_NUM_OF_ITEM_TYPES -}; - -/** - * An array of strings, which map the #tag_type to its machine - * readable name (specific to the MPD protocol). - */ -extern const char *tag_item_names[]; - /** * One tag value. It is a mapping of #tag_type to am arbitrary string * value. Each tag can have multiple items of one tag type (although -- cgit v1.2.3