aboutsummaryrefslogtreecommitdiffstats
path: root/src/tag/TagBuilder.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-09-05 19:23:06 +0200
committerMax Kellermann <max@duempel.org>2013-09-05 19:23:06 +0200
commita24589d46e822975fcd81a72a3d29d3c3e340277 (patch)
tree260ed61d82c02f2bc644f4a87b0b4e4a54e5ba6f /src/tag/TagBuilder.hxx
parent84533b6cad78626b27ceb463282687918653b605 (diff)
downloadmpd-a24589d46e822975fcd81a72a3d29d3c3e340277.tar.gz
mpd-a24589d46e822975fcd81a72a3d29d3c3e340277.tar.xz
mpd-a24589d46e822975fcd81a72a3d29d3c3e340277.zip
TagBuilder: add method Commit(Tag&)
For callers that already have a Tag instance.
Diffstat (limited to 'src/tag/TagBuilder.hxx')
-rw-r--r--src/tag/TagBuilder.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tag/TagBuilder.hxx b/src/tag/TagBuilder.hxx
index 4eeb0c48d..63a14a946 100644
--- a/src/tag/TagBuilder.hxx
+++ b/src/tag/TagBuilder.hxx
@@ -84,6 +84,12 @@ public:
void Clear();
/**
+ * Move this object to the given #Tag instance. This object
+ * is empty afterwards.
+ */
+ void Commit(Tag &tag);
+
+ /**
* Create a new #Tag instance from data in this object. The
* returned object is owned by the caller. This object is
* empty afterwards.