aboutsummaryrefslogtreecommitdiffstats
path: root/src/audio_parser.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-30 21:47:12 +0100
committerMax Kellermann <max@duempel.org>2013-01-30 21:47:12 +0100
commitd664baff2699842f2182968f5c26dbf63babdeff (patch)
tree387920b40478228d7c0ba0574c2415dd3ee91a8c /src/audio_parser.h
parent3275d4c6fa40c66c410bd279f3571ba36f95c4d6 (diff)
downloadmpd-d664baff2699842f2182968f5c26dbf63babdeff.tar.gz
mpd-d664baff2699842f2182968f5c26dbf63babdeff.tar.xz
mpd-d664baff2699842f2182968f5c26dbf63babdeff.zip
audio_{parser,config}: convert to C++
Diffstat (limited to '')
-rw-r--r--src/AudioParser.hxx (renamed from src/audio_parser.h)16
1 files changed, 3 insertions, 13 deletions
diff --git a/src/audio_parser.h b/src/AudioParser.hxx
index bbe868f61..f7855e8e3 100644
--- a/src/audio_parser.h
+++ b/src/AudioParser.hxx
@@ -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
@@ -22,19 +22,13 @@
* Parser functions for audio related objects.
*/
-#ifndef AUDIO_PARSER_H
-#define AUDIO_PARSER_H
+#ifndef MPD_AUDIO_PARSER_HXX
+#define MPD_AUDIO_PARSER_HXX
#include "gerror.h"
-#include <stdbool.h>
-
struct audio_format;
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/**
* Parses a string in the form "SAMPLE_RATE:BITS:CHANNELS" into an
* #audio_format.
@@ -50,8 +44,4 @@ bool
audio_format_parse(struct audio_format *dest, const char *src,
bool mask, GError **error_r);
-#ifdef __cplusplus
-}
-#endif
-
#endif