aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm/Domain.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-12-23 09:04:31 +0100
committerMax Kellermann <max@duempel.org>2013-12-23 10:35:19 +0100
commit2d1a3073f63604a452e559ff8322520af98a4b65 (patch)
tree55e8892ec78eda8023f4434f3bafb4ab977c8fa5 /src/pcm/Domain.cxx
parentd7b988638722d245152b108456af1aad8fc9b8a0 (diff)
downloadmpd-2d1a3073f63604a452e559ff8322520af98a4b65.tar.gz
mpd-2d1a3073f63604a452e559ff8322520af98a4b65.tar.xz
mpd-2d1a3073f63604a452e559ff8322520af98a4b65.zip
pcm/PcmConvert: move the Domain instance to Domain.cxx
Rename pcm_convert_domain to pcm_domain. Move it out so we can use it without depending on the whole PcmConvert library.
Diffstat (limited to 'src/pcm/Domain.cxx')
-rw-r--r--src/pcm/Domain.cxx23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/pcm/Domain.cxx b/src/pcm/Domain.cxx
new file mode 100644
index 000000000..9f07d80dd
--- /dev/null
+++ b/src/pcm/Domain.cxx
@@ -0,0 +1,23 @@
+/*
+ * 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
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+#include "Domain.hxx"
+#include "util/Domain.hxx"
+
+const Domain pcm_domain("pcm");