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

@@ -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,