diff options
author | Max Kellermann <max@duempel.org> | 2014-04-24 11:29:55 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-04-24 11:38:48 +0200 |
commit | 22206512539aa9a888fdba68d60324c560389d5d (patch) | |
tree | 3a69408316f4edd017fa45192e01ee3093fc04d0 /src/tag/TagBuilder.hxx | |
parent | 7fdd8014798a11e93af59f757832a412e9aae45c (diff) | |
download | mpd-22206512539aa9a888fdba68d60324c560389d5d.tar.gz mpd-22206512539aa9a888fdba68d60324c560389d5d.tar.xz mpd-22206512539aa9a888fdba68d60324c560389d5d.zip |
TagBuilder: add method AddEmptyItem()
Diffstat (limited to 'src/tag/TagBuilder.hxx')
-rw-r--r-- | src/tag/TagBuilder.hxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/tag/TagBuilder.hxx b/src/tag/TagBuilder.hxx index c0b4bebfa..6de52b775 100644 --- a/src/tag/TagBuilder.hxx +++ b/src/tag/TagBuilder.hxx @@ -154,6 +154,13 @@ public: void AddItem(TagType type, const char *value); /** + * Appends a new tag item with an empty value. Do not use + * this unless you know what you're doing - because usually, + * empty values are discarded. + */ + void AddEmptyItem(TagType type); + + /** * Removes all tag items. */ void RemoveAll(); |