aboutsummaryrefslogtreecommitdiffstats
path: root/src/tag/TagBuilder.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-12-03 12:56:36 +0100
committerMax Kellermann <max@duempel.org>2013-12-03 12:59:55 +0100
commit9f4e96fdfa0967fa83444a44c8e6fdbda14b96c3 (patch)
tree2f08a42a9c2f70160e892314dbeaf3bf559a8203 /src/tag/TagBuilder.hxx
parentc36af357303891a45fdcb286b99ca8bb5be20693 (diff)
downloadmpd-9f4e96fdfa0967fa83444a44c8e6fdbda14b96c3.tar.gz
mpd-9f4e96fdfa0967fa83444a44c8e6fdbda14b96c3.tar.xz
mpd-9f4e96fdfa0967fa83444a44c8e6fdbda14b96c3.zip
PaylistTag: use class TagBuilder
Diffstat (limited to 'src/tag/TagBuilder.hxx')
-rw-r--r--src/tag/TagBuilder.hxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/tag/TagBuilder.hxx b/src/tag/TagBuilder.hxx
index cd4fa4e57..fe647db08 100644
--- a/src/tag/TagBuilder.hxx
+++ b/src/tag/TagBuilder.hxx
@@ -147,6 +147,16 @@ public:
gcc_nonnull_all
void AddItem(TagType type, const char *value);
+ /**
+ * Removes all tag items.
+ */
+ void RemoveAll();
+
+ /**
+ * Removes all tag items of the specified type.
+ */
+ void RemoveType(TagType type);
+
private:
gcc_nonnull_all
void AddItemInternal(TagType type, const char *value, size_t length);