Commit 8d36367f authored by Max Kellermann's avatar Max Kellermann

input_stream.h: rename to InputLegacy.hxx

parent 3deca8fc
...@@ -57,7 +57,6 @@ mpd_headers = \ ...@@ -57,7 +57,6 @@ mpd_headers = \
src/gerror.h \ src/gerror.h \
src/glib_compat.h \ src/glib_compat.h \
src/gcc.h \ src/gcc.h \
src/input_stream.h \
src/TextInputStream.hxx \ src/TextInputStream.hxx \
src/AudioCompress/config.h \ src/AudioCompress/config.h \
src/AudioCompress/compress.h \ src/AudioCompress/compress.h \
...@@ -718,6 +717,7 @@ libinput_a_SOURCES = \ ...@@ -718,6 +717,7 @@ libinput_a_SOURCES = \
src/InputInit.cxx src/InputInit.hxx \ src/InputInit.cxx src/InputInit.hxx \
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/InputLegacy.hxx \
src/InputPlugin.hxx \ src/InputPlugin.hxx \
src/InputInternal.cxx src/InputInternal.hxx \ src/InputInternal.cxx src/InputInternal.hxx \
src/input/RewindInputPlugin.cxx src/input/RewindInputPlugin.hxx \ src/input/RewindInputPlugin.cxx src/input/RewindInputPlugin.hxx \
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
#include "check.h" #include "check.h"
#include "DecoderCommand.hxx" #include "DecoderCommand.hxx"
#include "DecoderPlugin.hxx" #include "DecoderPlugin.hxx"
#include "input_stream.h" #include "InputLegacy.hxx"
#include "replay_gain_info.h" #include "replay_gain_info.h"
#include "Tag.hxx" #include "Tag.hxx"
#include "AudioFormat.hxx" #include "AudioFormat.hxx"
......
/* /*
* Copyright (C) 2003-2011 The Music Player Daemon Project * Copyright (C) 2003-2013 The Music Player Daemon Project
* http://www.musicpd.org * http://www.musicpd.org
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
...@@ -17,27 +17,21 @@ ...@@ -17,27 +17,21 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef MPD_INPUT_STREAM_H #ifndef MPD_INPUT_LEGACY_HXX
#define MPD_INPUT_STREAM_H #define MPD_INPUT_LEGACY_HXX
#include "check.h" #include "check.h"
#include "thread/Mutex.hxx"
#include "thread/Cond.hxx"
#include "gcc.h" #include "gcc.h"
#include <glib.h> #include <glib.h>
#include <stddef.h> #include <stddef.h>
#include <stdbool.h>
#include <sys/types.h>
struct Tag; struct Tag;
struct input_stream; struct input_stream;
#ifdef __cplusplus
extern "C" {
#include "thread/Mutex.hxx"
#include "thread/Cond.hxx"
/** /**
* Opens a new input stream. You may not access it until the "ready" * Opens a new input stream. You may not access it until the "ready"
* flag is set. * flag is set.
...@@ -56,8 +50,6 @@ input_stream_open(const char *uri, ...@@ -56,8 +50,6 @@ input_stream_open(const char *uri,
Mutex &mutex, Cond &cond, Mutex &mutex, Cond &cond,
GError **error_r); GError **error_r);
#endif
/** /**
* Close the input stream and free resources. * Close the input stream and free resources.
* *
...@@ -229,8 +221,4 @@ size_t ...@@ -229,8 +221,4 @@ size_t
input_stream_lock_read(struct input_stream *is, void *ptr, size_t size, input_stream_lock_read(struct input_stream *is, void *ptr, size_t size,
GError **error_r); GError **error_r);
#ifdef __cplusplus
}
#endif
#endif #endif
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#ifndef MPD_INPUT_PLUGIN_HXX #ifndef MPD_INPUT_PLUGIN_HXX
#define MPD_INPUT_PLUGIN_HXX #define MPD_INPUT_PLUGIN_HXX
#include "input_stream.h" #include "InputLegacy.hxx"
#include <stddef.h> #include <stddef.h>
#include <sys/types.h> #include <sys/types.h>
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#ifndef MPD_INPUT_STREAM_HXX #ifndef MPD_INPUT_STREAM_HXX
#define MPD_INPUT_STREAM_HXX #define MPD_INPUT_STREAM_HXX
#include "input_stream.h" #include "InputLegacy.hxx"
#include "check.h" #include "check.h"
#include "thread/Mutex.hxx" #include "thread/Mutex.hxx"
#include "thread/Cond.hxx" #include "thread/Cond.hxx"
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#include "PlaylistMapper.hxx" #include "PlaylistMapper.hxx"
#include "PlaylistRegistry.hxx" #include "PlaylistRegistry.hxx"
#include "util/UriUtil.hxx" #include "util/UriUtil.hxx"
#include "input_stream.h" #include "InputLegacy.hxx"
#include <assert.h> #include <assert.h>
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
#include "DatabaseGlue.hxx" #include "DatabaseGlue.hxx"
#include "DatabasePlugin.hxx" #include "DatabasePlugin.hxx"
#include "Client.hxx" #include "Client.hxx"
#include "input_stream.h" #include "InputLegacy.hxx"
#include "Song.hxx" #include "Song.hxx"
void void
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
#include "PlaylistAny.hxx" #include "PlaylistAny.hxx"
#include "PlaylistSong.hxx" #include "PlaylistSong.hxx"
#include "Playlist.hxx" #include "Playlist.hxx"
#include "input_stream.h" #include "InputLegacy.hxx"
#include "Song.hxx" #include "Song.hxx"
enum playlist_result enum playlist_result
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
#include "playlist/RssPlaylistPlugin.hxx" #include "playlist/RssPlaylistPlugin.hxx"
#include "playlist/CuePlaylistPlugin.hxx" #include "playlist/CuePlaylistPlugin.hxx"
#include "playlist/EmbeddedCuePlaylistPlugin.hxx" #include "playlist/EmbeddedCuePlaylistPlugin.hxx"
#include "input_stream.h" #include "InputLegacy.hxx"
#include "util/UriUtil.hxx" #include "util/UriUtil.hxx"
#include "util/StringUtil.hxx" #include "util/StringUtil.hxx"
#include "conf.h" #include "conf.h"
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
#include "fs/Path.hxx" #include "fs/Path.hxx"
#include "fs/FileSystem.hxx" #include "fs/FileSystem.hxx"
#include "Tag.hxx" #include "Tag.hxx"
#include "input_stream.h" #include "InputLegacy.hxx"
#include "DecoderPlugin.hxx" #include "DecoderPlugin.hxx"
#include "DecoderList.hxx" #include "DecoderList.hxx"
#include "TagHandler.hxx" #include "TagHandler.hxx"
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#include "util/UriUtil.hxx" #include "util/UriUtil.hxx"
#include "DecoderList.hxx" #include "DecoderList.hxx"
#include "DecoderPlugin.hxx" #include "DecoderPlugin.hxx"
#include "input_stream.h" #include "InputLegacy.hxx"
#include <assert.h> #include <assert.h>
#include <unistd.h> /* for SEEK_SET */ #include <unistd.h> /* for SEEK_SET */
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#include "config.h" #include "config.h"
#include "TextInputStream.hxx" #include "TextInputStream.hxx"
#include "input_stream.h" #include "InputLegacy.hxx"
#include "util/fifo_buffer.h" #include "util/fifo_buffer.h"
#include <glib.h> #include <glib.h>
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#include "config.h" #include "config.h"
#include "AsxPlaylistPlugin.hxx" #include "AsxPlaylistPlugin.hxx"
#include "MemoryPlaylistProvider.hxx" #include "MemoryPlaylistProvider.hxx"
#include "input_stream.h" #include "InputLegacy.hxx"
#include "Song.hxx" #include "Song.hxx"
#include "Tag.hxx" #include "Tag.hxx"
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#include "PlaylistPlugin.hxx" #include "PlaylistPlugin.hxx"
#include "Tag.hxx" #include "Tag.hxx"
#include "Song.hxx" #include "Song.hxx"
#include "input_stream.h" #include "InputLegacy.hxx"
#include "cue/CueParser.hxx" #include "cue/CueParser.hxx"
#include "TextInputStream.hxx" #include "TextInputStream.hxx"
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
#include "PlaylistRegistry.hxx" #include "PlaylistRegistry.hxx"
#include "conf.h" #include "conf.h"
#include "Song.hxx" #include "Song.hxx"
#include "input_stream.h" #include "InputLegacy.hxx"
#include <glib.h> #include <glib.h>
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#include "config.h" #include "config.h"
#include "PlsPlaylistPlugin.hxx" #include "PlsPlaylistPlugin.hxx"
#include "MemoryPlaylistProvider.hxx" #include "MemoryPlaylistProvider.hxx"
#include "input_stream.h" #include "InputLegacy.hxx"
#include "Song.hxx" #include "Song.hxx"
#include "Tag.hxx" #include "Tag.hxx"
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#include "config.h" #include "config.h"
#include "RssPlaylistPlugin.hxx" #include "RssPlaylistPlugin.hxx"
#include "MemoryPlaylistProvider.hxx" #include "MemoryPlaylistProvider.hxx"
#include "input_stream.h" #include "InputLegacy.hxx"
#include "Song.hxx" #include "Song.hxx"
#include "Tag.hxx" #include "Tag.hxx"
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#include "SoundCloudPlaylistPlugin.hxx" #include "SoundCloudPlaylistPlugin.hxx"
#include "MemoryPlaylistProvider.hxx" #include "MemoryPlaylistProvider.hxx"
#include "conf.h" #include "conf.h"
#include "input_stream.h" #include "InputLegacy.hxx"
#include "Song.hxx" #include "Song.hxx"
#include "Tag.hxx" #include "Tag.hxx"
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#include "config.h" #include "config.h"
#include "XspfPlaylistPlugin.hxx" #include "XspfPlaylistPlugin.hxx"
#include "MemoryPlaylistProvider.hxx" #include "MemoryPlaylistProvider.hxx"
#include "input_stream.h" #include "InputLegacy.hxx"
#include "Tag.hxx" #include "Tag.hxx"
#include <glib.h> #include <glib.h>
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#include "TagSave.hxx" #include "TagSave.hxx"
#include "Song.hxx" #include "Song.hxx"
#include "Directory.hxx" #include "Directory.hxx"
#include "input_stream.h" #include "InputLegacy.hxx"
#include "conf.h" #include "conf.h"
#include "DecoderAPI.hxx" #include "DecoderAPI.hxx"
#include "DecoderList.hxx" #include "DecoderList.hxx"
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#include "DecoderList.hxx" #include "DecoderList.hxx"
#include "DecoderAPI.hxx" #include "DecoderAPI.hxx"
#include "InputInit.hxx" #include "InputInit.hxx"
#include "input_stream.h" #include "InputLegacy.hxx"
#include "AudioFormat.hxx" #include "AudioFormat.hxx"
#include "stdbin.h" #include "stdbin.h"
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#include "stdbin.h" #include "stdbin.h"
#include "Tag.hxx" #include "Tag.hxx"
#include "conf.h" #include "conf.h"
#include "input_stream.h" #include "InputLegacy.hxx"
#include "InputStream.hxx" #include "InputStream.hxx"
#include "InputInit.hxx" #include "InputInit.hxx"
#include "IOThread.hxx" #include "IOThread.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