diff options
author | Max Kellermann <max@duempel.org> | 2013-12-03 12:12:30 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-12-03 13:15:42 +0100 |
commit | 8a5209ad93f860572b3545d56bc6f170449be1dc (patch) | |
tree | b018be9ca1d4d7d137c356502ba3d416d988c30e /src/tag/Tag.hxx | |
parent | 308fdf6e9a7229f2a2f5bb51d9528c39d595e73d (diff) | |
download | mpd-8a5209ad93f860572b3545d56bc6f170449be1dc.tar.gz mpd-8a5209ad93f860572b3545d56bc6f170449be1dc.tar.xz mpd-8a5209ad93f860572b3545d56bc6f170449be1dc.zip |
Tag: remove method AddItem()
Use class TagBuilder instead.
Diffstat (limited to 'src/tag/Tag.hxx')
-rw-r--r-- | src/tag/Tag.hxx | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/tag/Tag.hxx b/src/tag/Tag.hxx index e404a4f26..457a889bd 100644 --- a/src/tag/Tag.hxx +++ b/src/tag/Tag.hxx @@ -104,24 +104,6 @@ struct Tag { void Clear(); /** - * Appends a new tag item. - * - * @param type the type of the new tag item - * @param value the value of the tag item (not null-terminated) - * @param len the length of #value - */ - void AddItem(TagType type, const char *value, size_t len); - - /** - * Appends a new tag item. - * - * @param tag the #tag object - * @param type the type of the new tag item - * @param value the value of the tag item (null-terminated) - */ - void AddItem(TagType type, const char *value); - - /** * Merges the data from two tags. If both tags share data for the * same TagType, only data from "add" is used. * @@ -152,9 +134,6 @@ struct Tag { */ gcc_pure bool HasType(TagType type) const; - -private: - void AddItemInternal(TagType type, const char *value, size_t len); }; /** |