aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-10-23 23:10:27 +0200
committerMax Kellermann <max@duempel.org>2013-10-23 23:10:27 +0200
commitc4d4011c63808a64ca20a4b03fd455a83c23cc33 (patch)
treee039c57ed77afa4c3182318e36cc2bb1ccd36174 /src
parent3d12f8d2466d6a000bb116b4363a695c862ab52d (diff)
downloadmpd-c4d4011c63808a64ca20a4b03fd455a83c23cc33.tar.gz
mpd-c4d4011c63808a64ca20a4b03fd455a83c23cc33.tar.xz
mpd-c4d4011c63808a64ca20a4b03fd455a83c23cc33.zip
InputInternal: remove obsolete library
Diffstat (limited to 'src')
-rw-r--r--src/InputInternal.cxx40
-rw-r--r--src/InputInternal.hxx33
-rw-r--r--src/archive/Bzip2ArchivePlugin.cxx1
-rw-r--r--src/archive/Iso9660ArchivePlugin.cxx1
-rw-r--r--src/archive/ZzipArchivePlugin.cxx1
-rw-r--r--src/input/CdioParanoiaInputPlugin.cxx1
-rw-r--r--src/input/CurlInputPlugin.cxx1
-rw-r--r--src/input/DespotifyInputPlugin.cxx1
-rw-r--r--src/input/FfmpegInputPlugin.cxx1
-rw-r--r--src/input/FileInputPlugin.cxx1
-rw-r--r--src/input/MmsInputPlugin.cxx1
-rw-r--r--src/input/RewindInputPlugin.cxx1
12 files changed, 0 insertions, 83 deletions
diff --git a/src/InputInternal.cxx b/src/InputInternal.cxx
deleted file mode 100644
index 93a8b9b51..000000000
--- a/src/InputInternal.cxx
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * 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 "config.h"
-#include "InputInternal.hxx"
-#include "InputStream.hxx"
-#include "thread/Cond.hxx"
-
-void
-input_stream_signal_client(struct input_stream *is)
-{
- is->cond.broadcast();
-}
-
-void
-input_stream_set_ready(struct input_stream *is)
-{
- const ScopeLock protect(is->mutex);
-
- if (!is->ready) {
- is->ready = true;
- input_stream_signal_client(is);
- }
-}
diff --git a/src/InputInternal.hxx b/src/InputInternal.hxx
deleted file mode 100644
index 019ac09c6..000000000
--- a/src/InputInternal.hxx
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * 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.
- */
-
-#ifndef MPD_INPUT_INTERNAL_HXX
-#define MPD_INPUT_INTERNAL_HXX
-
-#include "check.h"
-
-struct input_stream;
-
-void
-input_stream_signal_client(struct input_stream *is);
-
-void
-input_stream_set_ready(struct input_stream *is);
-
-#endif
diff --git a/src/archive/Bzip2ArchivePlugin.cxx b/src/archive/Bzip2ArchivePlugin.cxx
index be8e66fc7..c6bd7c40b 100644
--- a/src/archive/Bzip2ArchivePlugin.cxx
+++ b/src/archive/Bzip2ArchivePlugin.cxx
@@ -26,7 +26,6 @@
#include "ArchivePlugin.hxx"
#include "ArchiveFile.hxx"
#include "ArchiveVisitor.hxx"
-#include "InputInternal.hxx"
#include "InputStream.hxx"
#include "InputPlugin.hxx"
#include "util/RefCount.hxx"
diff --git a/src/archive/Iso9660ArchivePlugin.cxx b/src/archive/Iso9660ArchivePlugin.cxx
index 1cfac3a43..729efb589 100644
--- a/src/archive/Iso9660ArchivePlugin.cxx
+++ b/src/archive/Iso9660ArchivePlugin.cxx
@@ -26,7 +26,6 @@
#include "ArchivePlugin.hxx"
#include "ArchiveFile.hxx"
#include "ArchiveVisitor.hxx"
-#include "InputInternal.hxx"
#include "InputStream.hxx"
#include "InputPlugin.hxx"
#include "util/RefCount.hxx"
diff --git a/src/archive/ZzipArchivePlugin.cxx b/src/archive/ZzipArchivePlugin.cxx
index 436afc417..ee2f2e76a 100644
--- a/src/archive/ZzipArchivePlugin.cxx
+++ b/src/archive/ZzipArchivePlugin.cxx
@@ -26,7 +26,6 @@
#include "ArchivePlugin.hxx"
#include "ArchiveFile.hxx"
#include "ArchiveVisitor.hxx"
-#include "InputInternal.hxx"
#include "InputStream.hxx"
#include "InputPlugin.hxx"
#include "util/RefCount.hxx"
diff --git a/src/input/CdioParanoiaInputPlugin.cxx b/src/input/CdioParanoiaInputPlugin.cxx
index db0593cee..b606df869 100644
--- a/src/input/CdioParanoiaInputPlugin.cxx
+++ b/src/input/CdioParanoiaInputPlugin.cxx
@@ -23,7 +23,6 @@
#include "config.h"
#include "CdioParanoiaInputPlugin.hxx"
-#include "InputInternal.hxx"
#include "InputStream.hxx"
#include "InputPlugin.hxx"
#include "util/Error.hxx"
diff --git a/src/input/CurlInputPlugin.cxx b/src/input/CurlInputPlugin.cxx
index 93529b5f3..bce0c94aa 100644
--- a/src/input/CurlInputPlugin.cxx
+++ b/src/input/CurlInputPlugin.cxx
@@ -19,7 +19,6 @@
#include "config.h"
#include "CurlInputPlugin.hxx"
-#include "InputInternal.hxx"
#include "InputStream.hxx"
#include "InputPlugin.hxx"
#include "ConfigGlobal.hxx"
diff --git a/src/input/DespotifyInputPlugin.cxx b/src/input/DespotifyInputPlugin.cxx
index a0eaa7793..6fc408de9 100644
--- a/src/input/DespotifyInputPlugin.cxx
+++ b/src/input/DespotifyInputPlugin.cxx
@@ -20,7 +20,6 @@
#include "config.h"
#include "DespotifyInputPlugin.hxx"
#include "DespotifyUtils.hxx"
-#include "InputInternal.hxx"
#include "InputStream.hxx"
#include "InputPlugin.hxx"
#include "tag/Tag.hxx"
diff --git a/src/input/FfmpegInputPlugin.cxx b/src/input/FfmpegInputPlugin.cxx
index 0d9cf6b8f..cba978029 100644
--- a/src/input/FfmpegInputPlugin.cxx
+++ b/src/input/FfmpegInputPlugin.cxx
@@ -22,7 +22,6 @@
#include "config.h"
#include "FfmpegInputPlugin.hxx"
-#include "InputInternal.hxx"
#include "InputStream.hxx"
#include "InputPlugin.hxx"
#include "util/Error.hxx"
diff --git a/src/input/FileInputPlugin.cxx b/src/input/FileInputPlugin.cxx
index 22cb8d5e6..a351edf98 100644
--- a/src/input/FileInputPlugin.cxx
+++ b/src/input/FileInputPlugin.cxx
@@ -19,7 +19,6 @@
#include "config.h" /* must be first for large file support */
#include "FileInputPlugin.hxx"
-#include "InputInternal.hxx"
#include "InputStream.hxx"
#include "InputPlugin.hxx"
#include "util/Error.hxx"
diff --git a/src/input/MmsInputPlugin.cxx b/src/input/MmsInputPlugin.cxx
index 04c3e86c9..ed391bc9f 100644
--- a/src/input/MmsInputPlugin.cxx
+++ b/src/input/MmsInputPlugin.cxx
@@ -19,7 +19,6 @@
#include "config.h"
#include "MmsInputPlugin.hxx"
-#include "InputInternal.hxx"
#include "InputStream.hxx"
#include "InputPlugin.hxx"
#include "util/Error.hxx"
diff --git a/src/input/RewindInputPlugin.cxx b/src/input/RewindInputPlugin.cxx
index 567fb6888..c451ad332 100644
--- a/src/input/RewindInputPlugin.cxx
+++ b/src/input/RewindInputPlugin.cxx
@@ -19,7 +19,6 @@
#include "config.h"
#include "RewindInputPlugin.hxx"
-#include "InputInternal.hxx"
#include "InputStream.hxx"
#include "InputPlugin.hxx"
#include "tag/Tag.hxx"