diff options
author | Max Kellermann <max@duempel.org> | 2013-01-02 19:52:57 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-02 20:22:59 +0100 |
commit | b715e522cff7109c370e66d29ba22340c9259c52 (patch) | |
tree | abda37d8d414592c59f8f875a3b1b439c5d81725 /test | |
parent | 4b0b8315a918be5ad92d5aeb0c7df6d28966b951 (diff) |
db_save, state_file: convert to C++
Diffstat (limited to 'test')
-rw-r--r-- | test/DumpPlaylist.cxx (renamed from test/dump_playlist.c) | 7 | ||||
-rw-r--r-- | test/RunInput.cxx (renamed from test/run_input.c) | 9 |
2 files changed, 11 insertions, 5 deletions
diff --git a/test/dump_playlist.c b/test/DumpPlaylist.cxx index 56687266..231ae31a 100644 --- a/test/dump_playlist.c +++ b/test/DumpPlaylist.cxx @@ -18,16 +18,19 @@ */ #include "config.h" +#include "TagSave.hxx" +#include "song.h" + +extern "C" { #include "io_thread.h" #include "input_init.h" #include "input_stream.h" -#include "tag_save.h" #include "conf.h" -#include "song.h" #include "decoder_api.h" #include "decoder_list.h" #include "playlist_list.h" #include "playlist_plugin.h" +} #include <glib.h> diff --git a/test/run_input.c b/test/RunInput.cxx index acf25a28..52b53db5 100644 --- a/test/run_input.c +++ b/test/RunInput.cxx @@ -1,5 +1,5 @@ /* - * Copyright (C) 2003-2011 The Music Player Daemon Project + * Copyright (C) 2003-2013 The Music Player Daemon Project * http://www.musicpd.org * * This program is free software; you can redistribute it and/or modify @@ -18,17 +18,20 @@ */ #include "config.h" +#include "TagSave.hxx" +#include "stdbin.h" + +extern "C" { #include "io_thread.h" #include "input_init.h" #include "input_stream.h" -#include "tag_save.h" #include "tag.h" #include "conf.h" -#include "stdbin.h" #ifdef ENABLE_ARCHIVE #include "archive_list.h" #endif +} #include <glib.h> |