Commit bd42aeab authored by Max Kellermann's avatar Max Kellermann

XiphTags: convert to C++

parent cde6a3a0
...@@ -541,7 +541,7 @@ endif ...@@ -541,7 +541,7 @@ endif
if HAVE_XIPH if HAVE_XIPH
libdecoder_plugins_a_SOURCES += \ libdecoder_plugins_a_SOURCES += \
src/decoder/XiphTags.c src/decoder/XiphTags.h \ src/decoder/XiphTags.cxx src/decoder/XiphTags.hxx \
src/decoder/OggCodec.cxx src/decoder/OggCodec.hxx src/decoder/OggCodec.cxx src/decoder/OggCodec.hxx
endif endif
......
/* /*
* Copyright (C) 2003-2012 The Music Player Daemon Project * Copyright (C) 2003-2013 The Music Player Daemon Project
* http://www.musicpd.org * http://www.musicpd.org
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
...@@ -19,11 +19,7 @@ ...@@ -19,11 +19,7 @@
#include "config.h" #include "config.h"
#include "FlacMetadata.hxx" #include "FlacMetadata.hxx"
#include "XiphTags.hxx"
extern "C" {
#include "XiphTags.h"
}
#include "tag.h" #include "tag.h"
#include "TagHandler.hxx" #include "TagHandler.hxx"
#include "tag_table.h" #include "tag_table.h"
......
/* /*
* Copyright (C) 2003-2012 The Music Player Daemon Project * Copyright (C) 2003-2013 The Music Player Daemon Project
* http://www.musicpd.org * http://www.musicpd.org
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#include "config.h" #include "config.h"
#include "OpusTags.hxx" #include "OpusTags.hxx"
#include "OpusReader.hxx" #include "OpusReader.hxx"
#include "XiphTags.h" #include "XiphTags.hxx"
#include "TagHandler.hxx" #include "TagHandler.hxx"
#include <stdint.h> #include <stdint.h>
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#include "config.h" #include "config.h"
#include "VorbisComments.hxx" #include "VorbisComments.hxx"
#include "XiphTags.h" #include "XiphTags.hxx"
#include "tag.h" #include "tag.h"
#include "tag_table.h" #include "tag_table.h"
#include "TagHandler.hxx" #include "TagHandler.hxx"
......
/* /*
* Copyright (C) 2003-2012 The Music Player Daemon Project * Copyright (C) 2003-2013 The Music Player Daemon Project
* http://www.musicpd.org * http://www.musicpd.org
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
*/ */
#include "config.h" #include "config.h"
#include "XiphTags.h" #include "XiphTags.hxx"
const struct tag_table xiph_tags[] = { const struct tag_table xiph_tags[] = {
{ "tracknumber", TAG_TRACK }, { "tracknumber", TAG_TRACK },
......
/* /*
* Copyright (C) 2003-2012 The Music Player Daemon Project * Copyright (C) 2003-2013 The Music Player Daemon Project
* http://www.musicpd.org * http://www.musicpd.org
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
...@@ -17,8 +17,8 @@ ...@@ -17,8 +17,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef MPD_XIPH_TAGS_H #ifndef MPD_XIPH_TAGS_HXX
#define MPD_XIPH_TAGS_H #define MPD_XIPH_TAGS_HXX
#include "check.h" #include "check.h"
#include "tag_table.h" #include "tag_table.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment