Commit c4d4011c authored by Max Kellermann's avatar Max Kellermann

InputInternal: remove obsolete library

parent 3d12f8d2
...@@ -755,7 +755,6 @@ libinput_a_SOURCES = \ ...@@ -755,7 +755,6 @@ libinput_a_SOURCES = \
src/InputRegistry.cxx src/InputRegistry.hxx \ src/InputRegistry.cxx src/InputRegistry.hxx \
src/InputStream.cxx src/InputStream.hxx \ src/InputStream.cxx src/InputStream.hxx \
src/InputPlugin.hxx \ src/InputPlugin.hxx \
src/InputInternal.cxx src/InputInternal.hxx \
src/input/RewindInputPlugin.cxx src/input/RewindInputPlugin.hxx \ src/input/RewindInputPlugin.cxx src/input/RewindInputPlugin.hxx \
src/input/FileInputPlugin.cxx src/input/FileInputPlugin.hxx src/input/FileInputPlugin.cxx src/input/FileInputPlugin.hxx
......
/*
* 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);
}
}
/*
* 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
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
#include "ArchivePlugin.hxx" #include "ArchivePlugin.hxx"
#include "ArchiveFile.hxx" #include "ArchiveFile.hxx"
#include "ArchiveVisitor.hxx" #include "ArchiveVisitor.hxx"
#include "InputInternal.hxx"
#include "InputStream.hxx" #include "InputStream.hxx"
#include "InputPlugin.hxx" #include "InputPlugin.hxx"
#include "util/RefCount.hxx" #include "util/RefCount.hxx"
......
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
#include "ArchivePlugin.hxx" #include "ArchivePlugin.hxx"
#include "ArchiveFile.hxx" #include "ArchiveFile.hxx"
#include "ArchiveVisitor.hxx" #include "ArchiveVisitor.hxx"
#include "InputInternal.hxx"
#include "InputStream.hxx" #include "InputStream.hxx"
#include "InputPlugin.hxx" #include "InputPlugin.hxx"
#include "util/RefCount.hxx" #include "util/RefCount.hxx"
......
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
#include "ArchivePlugin.hxx" #include "ArchivePlugin.hxx"
#include "ArchiveFile.hxx" #include "ArchiveFile.hxx"
#include "ArchiveVisitor.hxx" #include "ArchiveVisitor.hxx"
#include "InputInternal.hxx"
#include "InputStream.hxx" #include "InputStream.hxx"
#include "InputPlugin.hxx" #include "InputPlugin.hxx"
#include "util/RefCount.hxx" #include "util/RefCount.hxx"
......
...@@ -23,7 +23,6 @@ ...@@ -23,7 +23,6 @@
#include "config.h" #include "config.h"
#include "CdioParanoiaInputPlugin.hxx" #include "CdioParanoiaInputPlugin.hxx"
#include "InputInternal.hxx"
#include "InputStream.hxx" #include "InputStream.hxx"
#include "InputPlugin.hxx" #include "InputPlugin.hxx"
#include "util/Error.hxx" #include "util/Error.hxx"
......
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
#include "config.h" #include "config.h"
#include "CurlInputPlugin.hxx" #include "CurlInputPlugin.hxx"
#include "InputInternal.hxx"
#include "InputStream.hxx" #include "InputStream.hxx"
#include "InputPlugin.hxx" #include "InputPlugin.hxx"
#include "ConfigGlobal.hxx" #include "ConfigGlobal.hxx"
......
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
#include "config.h" #include "config.h"
#include "DespotifyInputPlugin.hxx" #include "DespotifyInputPlugin.hxx"
#include "DespotifyUtils.hxx" #include "DespotifyUtils.hxx"
#include "InputInternal.hxx"
#include "InputStream.hxx" #include "InputStream.hxx"
#include "InputPlugin.hxx" #include "InputPlugin.hxx"
#include "tag/Tag.hxx" #include "tag/Tag.hxx"
......
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
#include "config.h" #include "config.h"
#include "FfmpegInputPlugin.hxx" #include "FfmpegInputPlugin.hxx"
#include "InputInternal.hxx"
#include "InputStream.hxx" #include "InputStream.hxx"
#include "InputPlugin.hxx" #include "InputPlugin.hxx"
#include "util/Error.hxx" #include "util/Error.hxx"
......
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
#include "config.h" /* must be first for large file support */ #include "config.h" /* must be first for large file support */
#include "FileInputPlugin.hxx" #include "FileInputPlugin.hxx"
#include "InputInternal.hxx"
#include "InputStream.hxx" #include "InputStream.hxx"
#include "InputPlugin.hxx" #include "InputPlugin.hxx"
#include "util/Error.hxx" #include "util/Error.hxx"
......
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
#include "config.h" #include "config.h"
#include "MmsInputPlugin.hxx" #include "MmsInputPlugin.hxx"
#include "InputInternal.hxx"
#include "InputStream.hxx" #include "InputStream.hxx"
#include "InputPlugin.hxx" #include "InputPlugin.hxx"
#include "util/Error.hxx" #include "util/Error.hxx"
......
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
#include "config.h" #include "config.h"
#include "RewindInputPlugin.hxx" #include "RewindInputPlugin.hxx"
#include "InputInternal.hxx"
#include "InputStream.hxx" #include "InputStream.hxx"
#include "InputPlugin.hxx" #include "InputPlugin.hxx"
#include "tag/Tag.hxx" #include "tag/Tag.hxx"
......
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