archive/*: convert to C++
This commit is contained in:
@@ -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,
|
||||
};
|
@@ -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
|
||||
@@ -17,8 +17,8 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#ifndef MPD_INPUT_ARCHIVE_H
|
||||
#define MPD_INPUT_ARCHIVE_H
|
||||
#ifndef MPD_INPUT_ARCHIVE_HXX
|
||||
#define MPD_INPUT_ARCHIVE_HXX
|
||||
|
||||
extern const struct input_plugin input_plugin_archive;
|
||||
|
Reference in New Issue
Block a user