aboutsummaryrefslogtreecommitdiffstats
path: root/src/tag/TagBuilder.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-12-03 11:17:43 +0100
committerMax Kellermann <max@duempel.org>2013-12-03 11:46:21 +0100
commit074a23e6b4c7968715cfcc52ab9305be8a9fe3ac (patch)
treed9c3197ab384ae511e90ae044c0a2337079cd03a /src/tag/TagBuilder.hxx
parent2fb61534a14666fa407d5c62f7e05d7e6885a531 (diff)
downloadmpd-074a23e6b4c7968715cfcc52ab9305be8a9fe3ac.tar.gz
mpd-074a23e6b4c7968715cfcc52ab9305be8a9fe3ac.tar.xz
mpd-074a23e6b4c7968715cfcc52ab9305be8a9fe3ac.zip
TagBuilder: add method HasType()
Diffstat (limited to 'src/tag/TagBuilder.hxx')
-rw-r--r--src/tag/TagBuilder.hxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/tag/TagBuilder.hxx b/src/tag/TagBuilder.hxx
index ffc60a1b2..ff6251014 100644
--- a/src/tag/TagBuilder.hxx
+++ b/src/tag/TagBuilder.hxx
@@ -109,6 +109,13 @@ public:
}
/**
+ * Checks whether the tag contains one or more items with
+ * the specified type.
+ */
+ gcc_pure
+ bool HasType(TagType type) const;
+
+ /**
* Appends a new tag item.
*
* @param type the type of the new tag item