diff options
author | Max Kellermann <max@duempel.org> | 2013-01-24 19:18:58 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-24 19:18:58 +0100 |
commit | 94fffb332bb40eb4b13ad7a2039109d2a420a8f6 (patch) | |
tree | 6686e1d74a1dcbe4e91c70aef45374256d7acac9 /src/input/ArchiveInputPlugin.cxx | |
parent | dc2e64c92b5a61f4c578b5d4c6017b0d5b8037ff (diff) | |
download | mpd-94fffb332bb40eb4b13ad7a2039109d2a420a8f6.tar.gz mpd-94fffb332bb40eb4b13ad7a2039109d2a420a8f6.tar.xz mpd-94fffb332bb40eb4b13ad7a2039109d2a420a8f6.zip |
archive/*: convert to C++
Diffstat (limited to '')
-rw-r--r-- | src/input/ArchiveInputPlugin.cxx (renamed from src/input/archive_input_plugin.c) | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/src/input/archive_input_plugin.c b/src/input/ArchiveInputPlugin.cxx index e608dd4a6..560c65843 100644 --- a/src/input/archive_input_plugin.c +++ b/src/input/ArchiveInputPlugin.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,9 +18,10 @@ */ #include "config.h" -#include "input/archive_input_plugin.h" -#include "archive_api.h" -#include "archive_list.h" +#include "ArchiveInputPlugin.hxx" +#include "ArchiveLookup.hxx" +#include "ArchiveList.hxx" +#include "ArchivePlugin.hxx" #include "input_plugin.h" #include <glib.h> @@ -78,6 +79,16 @@ input_archive_open(const char *pathname, } const struct input_plugin input_plugin_archive = { - .name = "archive", - .open = input_archive_open, + "archive", + nullptr, + nullptr, + input_archive_open, + nullptr, + nullptr, + nullptr, + nullptr, + nullptr, + nullptr, + nullptr, + nullptr, }; |