diff options
author | Max Kellermann <max@duempel.org> | 2013-10-20 13:32:59 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-10-20 13:32:59 +0200 |
commit | a78b2d84ed7c2a82c69c56125036e70b009a87b0 (patch) | |
tree | c8818c4111e9f2138cb66a38e1664ad5aa432bd4 /src/tag/TagHandler.hxx | |
parent | cf4d80fc655a399615529bdd27e0be284754c5ab (diff) | |
download | mpd-a78b2d84ed7c2a82c69c56125036e70b009a87b0.tar.gz mpd-a78b2d84ed7c2a82c69c56125036e70b009a87b0.tar.xz mpd-a78b2d84ed7c2a82c69c56125036e70b009a87b0.zip |
TagType: rename enum tag_type to TagType
Diffstat (limited to 'src/tag/TagHandler.hxx')
-rw-r--r-- | src/tag/TagHandler.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tag/TagHandler.hxx b/src/tag/TagHandler.hxx index 36871c962..b8c3c6b79 100644 --- a/src/tag/TagHandler.hxx +++ b/src/tag/TagHandler.hxx @@ -42,7 +42,7 @@ struct tag_handler { * @param the value of the tag; the pointer will become * invalid after returning */ - void (*tag)(enum tag_type type, const char *value, void *ctx); + void (*tag)(TagType type, const char *value, void *ctx); /** * A name-value pair has been read. It is the codec specific @@ -63,7 +63,7 @@ tag_handler_invoke_duration(const struct tag_handler *handler, void *ctx, static inline void tag_handler_invoke_tag(const struct tag_handler *handler, void *ctx, - enum tag_type type, const char *value) + TagType type, const char *value) { assert(handler != nullptr); assert((unsigned)type < TAG_NUM_OF_ITEM_TYPES); |