tag/Handler: convert to class with virtual methods

This commit is contained in:
Max Kellermann
2018-07-05 19:07:05 +02:00
parent 09d4176210
commit 3d3a1232b1
49 changed files with 414 additions and 496 deletions

View File

@@ -25,7 +25,7 @@
bool
tag_archive_scan(ArchiveFile &archive, const char *path_utf8,
const TagHandler &handler, void *handler_ctx) noexcept
TagHandler &handler) noexcept
try {
Mutex mutex;
@@ -33,7 +33,7 @@ try {
if (!is)
return false;
return tag_stream_scan(*is, handler, handler_ctx);
return tag_stream_scan(*is, handler);
} catch (const std::exception &e) {
return false;
}