aboutsummaryrefslogtreecommitdiffstats
path: root/src/Volume.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-07 08:59:11 +0100
committerMax Kellermann <max@duempel.org>2013-01-07 09:05:01 +0100
commit9f4b906e6cb61def8afddc2ed9bdf826e52e96d2 (patch)
tree2cfe029e0581c059126051b3450163226343a3b9 /src/Volume.cxx
parent804900df362c7f65736f8863e7be330e1ddf8758 (diff)
downloadmpd-9f4b906e6cb61def8afddc2ed9bdf826e52e96d2.tar.gz
mpd-9f4b906e6cb61def8afddc2ed9bdf826e52e96d2.tar.xz
mpd-9f4b906e6cb61def8afddc2ed9bdf826e52e96d2.zip
volume: convert to C++
Diffstat (limited to '')
-rw-r--r--src/Volume.cxx (renamed from src/volume.c)7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/volume.c b/src/Volume.cxx
index 549feab9b..f6643a905 100644
--- a/src/volume.c
+++ b/src/Volume.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,10 +18,13 @@
*/
#include "config.h"
-#include "volume.h"
+#include "Volume.hxx"
+
+extern "C" {
#include "idle.h"
#include "mixer_all.h"
#include "event_pipe.h"
+}
#include <glib.h>