summaryrefslogtreecommitdiff
path: root/src/TagFile.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2018-07-05 19:07:05 +0200
committerMax Kellermann <max@musicpd.org>2018-07-05 19:07:05 +0200
commit3d3a1232b1d2b58d2cc05b2dd5c37f2256832693 (patch)
tree250933da4d5dc29145ce18e5a05a7f8da30396fd /src/TagFile.hxx
parent09d4176210d66cf9e2d258b563a7811892c560f4 (diff)
tag/Handler: convert to class with virtual methods
Diffstat (limited to 'src/TagFile.hxx')
-rw-r--r--src/TagFile.hxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/TagFile.hxx b/src/TagFile.hxx
index 851cc9633..427c29c28 100644
--- a/src/TagFile.hxx
+++ b/src/TagFile.hxx
@@ -23,7 +23,7 @@
#include "check.h"
class Path;
-struct TagHandler;
+class TagHandler;
class TagBuilder;
/**
@@ -34,8 +34,7 @@ class TagBuilder;
* found)
*/
bool
-tag_file_scan(Path path,
- const TagHandler &handler, void *handler_ctx) noexcept;
+tag_file_scan(Path path, TagHandler &handler) noexcept;
/**
* Scan the tags of a song file. Invokes matching decoder plugins,