input_stream: convert to C++ (internally)
This commit is contained in:
@@ -24,10 +24,10 @@
|
||||
#include "input_stream.h"
|
||||
#include "conf.h"
|
||||
#include "decoder_api.h"
|
||||
#include "InputInit.hxx"
|
||||
|
||||
extern "C" {
|
||||
#include "io_thread.h"
|
||||
#include "input_init.h"
|
||||
#include "decoder_list.h"
|
||||
#include "playlist_list.h"
|
||||
#include "playlist_plugin.h"
|
||||
|
@@ -18,16 +18,19 @@
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "io_thread.h"
|
||||
#include "input_init.h"
|
||||
#include "InputInit.hxx"
|
||||
#include "input_stream.h"
|
||||
#include "text_input_stream.h"
|
||||
#include "conf.h"
|
||||
#include "stdbin.h"
|
||||
|
||||
extern "C" {
|
||||
#include "io_thread.h"
|
||||
#include "text_input_stream.h"
|
||||
|
||||
#ifdef ENABLE_ARCHIVE
|
||||
#include "archive_list.h"
|
||||
#endif
|
||||
}
|
||||
|
||||
#include <glib.h>
|
||||
|
@@ -18,14 +18,18 @@
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
extern "C" {
|
||||
#include "io_thread.h"
|
||||
#include "decoder_list.h"
|
||||
}
|
||||
#include "decoder_api.h"
|
||||
#include "input_init.h"
|
||||
#include "InputInit.hxx"
|
||||
#include "input_stream.h"
|
||||
#include "audio_format.h"
|
||||
extern "C" {
|
||||
#include "tag_ape.h"
|
||||
#include "tag_id3.h"
|
||||
}
|
||||
#include "tag_handler.h"
|
||||
|
||||
#include <glib.h>
|
||||
@@ -133,9 +137,9 @@ print_pair(const char *name, const char *value, G_GNUC_UNUSED void *ctx)
|
||||
}
|
||||
|
||||
static const struct tag_handler print_handler = {
|
||||
.duration = print_duration,
|
||||
.tag = print_tag,
|
||||
.pair = print_pair,
|
||||
print_duration,
|
||||
print_tag,
|
||||
print_pair,
|
||||
};
|
||||
|
||||
int main(int argc, char **argv)
|
@@ -18,10 +18,12 @@
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
extern "C" {
|
||||
#include "io_thread.h"
|
||||
#include "decoder_list.h"
|
||||
}
|
||||
#include "decoder_api.h"
|
||||
#include "input_init.h"
|
||||
#include "InputInit.hxx"
|
||||
#include "input_stream.h"
|
||||
#include "audio_format.h"
|
||||
#include "stdbin.h"
|
@@ -23,10 +23,10 @@
|
||||
#include "tag.h"
|
||||
#include "conf.h"
|
||||
#include "input_stream.h"
|
||||
#include "InputInit.hxx"
|
||||
|
||||
extern "C" {
|
||||
#include "io_thread.h"
|
||||
#include "input_init.h"
|
||||
|
||||
#ifdef ENABLE_ARCHIVE
|
||||
#include "archive_list.h"
|
||||
|
Reference in New Issue
Block a user