Tag: move configuration code to TagConfig.cxx

Allow using the Tag.cxx library without the Config library.
This commit is contained in:
Max Kellermann
2013-09-05 18:23:15 +02:00
parent 3f267b1795
commit 2b676dc5fc
6 changed files with 106 additions and 50 deletions

View File

@@ -39,6 +39,7 @@
#include "Volume.hxx"
#include "OutputAll.hxx"
#include "tag/Tag.hxx"
#include "tag/TagConfig.hxx"
#include "replay_gain_config.h"
#include "Idle.hxx"
#include "SignalHandlers.hxx"
@@ -376,6 +377,7 @@ int mpd_main(int argc, char *argv[])
stats_global_init();
tag_lib_init();
TagLoadConfig();
if (!log_init(options.verbose, options.log_stderr, error)) {
g_warning("%s", error.GetMessage());