diff options
author | Max Kellermann <max@duempel.org> | 2013-07-30 20:10:24 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-07-30 20:10:24 +0200 |
commit | 6a9ab8bc0e2f5d34803513bb2d94d041a607a58c (patch) | |
tree | 478328936b860507f6d0f77b2c7b3e6711910311 /src/tag.h | |
parent | 9a0061c511403bc023430feb91094355da83a663 (diff) | |
download | mpd-6a9ab8bc0e2f5d34803513bb2d94d041a607a58c.tar.gz mpd-6a9ab8bc0e2f5d34803513bb2d94d041a607a58c.tar.xz mpd-6a9ab8bc0e2f5d34803513bb2d94d041a607a58c.zip |
tag: move enum tag_type to TagType.h
Diffstat (limited to '')
-rw-r--r-- | src/tag.h | 34 |
1 files changed, 1 insertions, 33 deletions
@@ -20,6 +20,7 @@ #ifndef MPD_TAG_H #define MPD_TAG_H +#include "TagType.h" #include "gcc.h" #include <stdint.h> @@ -28,39 +29,6 @@ #include <string.h> /** - * 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 * few clients support that). |