diff options
author | Max Kellermann <max@musicpd.org> | 2018-07-17 21:49:27 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2018-07-17 22:05:27 +0200 |
commit | 0ff0aca2e2391a42900a588f9b6ed4d525509aac (patch) | |
tree | 0fd780e23fd5f246baeaec6d68f34979d2364de3 /test/dump_text_file.cxx | |
parent | 7b02c0224c839d88bb61ee719d780f6a653eb4e2 (diff) |
input/Init: use struct ConfigData
Diffstat (limited to 'test/dump_text_file.cxx')
-rw-r--r-- | test/dump_text_file.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/test/dump_text_file.cxx b/test/dump_text_file.cxx index 28638e8e0..3266b4923 100644 --- a/test/dump_text_file.cxx +++ b/test/dump_text_file.cxx @@ -22,7 +22,7 @@ #include "input/Init.hxx" #include "input/InputStream.hxx" #include "input/TextInputStream.hxx" -#include "config/Global.hxx" +#include "config/Data.hxx" #include "util/PrintException.hxx" #ifdef ENABLE_ARCHIVE @@ -41,11 +41,11 @@ class GlobalInit { public: GlobalInit() { io_thread.Start(); - config_global_init(); #ifdef ENABLE_ARCHIVE archive_plugin_init_all(); #endif - input_stream_global_init(io_thread.GetEventLoop()); + input_stream_global_init(ConfigData(), + io_thread.GetEventLoop()); } ~GlobalInit() { @@ -53,7 +53,6 @@ public: #ifdef ENABLE_ARCHIVE archive_plugin_deinit_all(); #endif - config_global_finish(); } }; |