input_stream.h: rename to InputLegacy.hxx
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
#include "check.h"
|
||||
#include "DecoderCommand.hxx"
|
||||
#include "DecoderPlugin.hxx"
|
||||
#include "input_stream.h"
|
||||
#include "InputLegacy.hxx"
|
||||
#include "replay_gain_info.h"
|
||||
#include "Tag.hxx"
|
||||
#include "AudioFormat.hxx"
|
||||
|
@@ -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
|
||||
@@ -17,27 +17,21 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#ifndef MPD_INPUT_STREAM_H
|
||||
#define MPD_INPUT_STREAM_H
|
||||
#ifndef MPD_INPUT_LEGACY_HXX
|
||||
#define MPD_INPUT_LEGACY_HXX
|
||||
|
||||
#include "check.h"
|
||||
#include "thread/Mutex.hxx"
|
||||
#include "thread/Cond.hxx"
|
||||
#include "gcc.h"
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdbool.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
struct Tag;
|
||||
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"
|
||||
* flag is set.
|
||||
@@ -56,8 +50,6 @@ input_stream_open(const char *uri,
|
||||
Mutex &mutex, Cond &cond,
|
||||
GError **error_r);
|
||||
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Close the input stream and free resources.
|
||||
*
|
||||
@@ -229,8 +221,4 @@ size_t
|
||||
input_stream_lock_read(struct input_stream *is, void *ptr, size_t size,
|
||||
GError **error_r);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
@@ -20,7 +20,7 @@
|
||||
#ifndef MPD_INPUT_PLUGIN_HXX
|
||||
#define MPD_INPUT_PLUGIN_HXX
|
||||
|
||||
#include "input_stream.h"
|
||||
#include "InputLegacy.hxx"
|
||||
|
||||
#include <stddef.h>
|
||||
#include <sys/types.h>
|
||||
|
@@ -20,7 +20,7 @@
|
||||
#ifndef MPD_INPUT_STREAM_HXX
|
||||
#define MPD_INPUT_STREAM_HXX
|
||||
|
||||
#include "input_stream.h"
|
||||
#include "InputLegacy.hxx"
|
||||
#include "check.h"
|
||||
#include "thread/Mutex.hxx"
|
||||
#include "thread/Cond.hxx"
|
||||
|
@@ -22,7 +22,7 @@
|
||||
#include "PlaylistMapper.hxx"
|
||||
#include "PlaylistRegistry.hxx"
|
||||
#include "util/UriUtil.hxx"
|
||||
#include "input_stream.h"
|
||||
#include "InputLegacy.hxx"
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
|
@@ -30,7 +30,7 @@
|
||||
#include "DatabaseGlue.hxx"
|
||||
#include "DatabasePlugin.hxx"
|
||||
#include "Client.hxx"
|
||||
#include "input_stream.h"
|
||||
#include "InputLegacy.hxx"
|
||||
#include "Song.hxx"
|
||||
|
||||
void
|
||||
|
@@ -23,7 +23,7 @@
|
||||
#include "PlaylistAny.hxx"
|
||||
#include "PlaylistSong.hxx"
|
||||
#include "Playlist.hxx"
|
||||
#include "input_stream.h"
|
||||
#include "InputLegacy.hxx"
|
||||
#include "Song.hxx"
|
||||
|
||||
enum playlist_result
|
||||
|
@@ -31,7 +31,7 @@
|
||||
#include "playlist/RssPlaylistPlugin.hxx"
|
||||
#include "playlist/CuePlaylistPlugin.hxx"
|
||||
#include "playlist/EmbeddedCuePlaylistPlugin.hxx"
|
||||
#include "input_stream.h"
|
||||
#include "InputLegacy.hxx"
|
||||
#include "util/UriUtil.hxx"
|
||||
#include "util/StringUtil.hxx"
|
||||
#include "conf.h"
|
||||
|
@@ -25,7 +25,7 @@
|
||||
#include "fs/Path.hxx"
|
||||
#include "fs/FileSystem.hxx"
|
||||
#include "Tag.hxx"
|
||||
#include "input_stream.h"
|
||||
#include "InputLegacy.hxx"
|
||||
#include "DecoderPlugin.hxx"
|
||||
#include "DecoderList.hxx"
|
||||
#include "TagHandler.hxx"
|
||||
|
@@ -22,7 +22,7 @@
|
||||
#include "util/UriUtil.hxx"
|
||||
#include "DecoderList.hxx"
|
||||
#include "DecoderPlugin.hxx"
|
||||
#include "input_stream.h"
|
||||
#include "InputLegacy.hxx"
|
||||
|
||||
#include <assert.h>
|
||||
#include <unistd.h> /* for SEEK_SET */
|
||||
|
@@ -19,7 +19,7 @@
|
||||
|
||||
#include "config.h"
|
||||
#include "TextInputStream.hxx"
|
||||
#include "input_stream.h"
|
||||
#include "InputLegacy.hxx"
|
||||
#include "util/fifo_buffer.h"
|
||||
|
||||
#include <glib.h>
|
||||
|
@@ -20,7 +20,7 @@
|
||||
#include "config.h"
|
||||
#include "AsxPlaylistPlugin.hxx"
|
||||
#include "MemoryPlaylistProvider.hxx"
|
||||
#include "input_stream.h"
|
||||
#include "InputLegacy.hxx"
|
||||
#include "Song.hxx"
|
||||
#include "Tag.hxx"
|
||||
|
||||
|
@@ -22,7 +22,7 @@
|
||||
#include "PlaylistPlugin.hxx"
|
||||
#include "Tag.hxx"
|
||||
#include "Song.hxx"
|
||||
#include "input_stream.h"
|
||||
#include "InputLegacy.hxx"
|
||||
#include "cue/CueParser.hxx"
|
||||
#include "TextInputStream.hxx"
|
||||
|
||||
|
@@ -23,7 +23,7 @@
|
||||
#include "PlaylistRegistry.hxx"
|
||||
#include "conf.h"
|
||||
#include "Song.hxx"
|
||||
#include "input_stream.h"
|
||||
#include "InputLegacy.hxx"
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
|
@@ -20,7 +20,7 @@
|
||||
#include "config.h"
|
||||
#include "PlsPlaylistPlugin.hxx"
|
||||
#include "MemoryPlaylistProvider.hxx"
|
||||
#include "input_stream.h"
|
||||
#include "InputLegacy.hxx"
|
||||
#include "Song.hxx"
|
||||
#include "Tag.hxx"
|
||||
|
||||
|
@@ -20,7 +20,7 @@
|
||||
#include "config.h"
|
||||
#include "RssPlaylistPlugin.hxx"
|
||||
#include "MemoryPlaylistProvider.hxx"
|
||||
#include "input_stream.h"
|
||||
#include "InputLegacy.hxx"
|
||||
#include "Song.hxx"
|
||||
#include "Tag.hxx"
|
||||
|
||||
|
@@ -21,7 +21,7 @@
|
||||
#include "SoundCloudPlaylistPlugin.hxx"
|
||||
#include "MemoryPlaylistProvider.hxx"
|
||||
#include "conf.h"
|
||||
#include "input_stream.h"
|
||||
#include "InputLegacy.hxx"
|
||||
#include "Song.hxx"
|
||||
#include "Tag.hxx"
|
||||
|
||||
|
@@ -20,7 +20,7 @@
|
||||
#include "config.h"
|
||||
#include "XspfPlaylistPlugin.hxx"
|
||||
#include "MemoryPlaylistProvider.hxx"
|
||||
#include "input_stream.h"
|
||||
#include "InputLegacy.hxx"
|
||||
#include "Tag.hxx"
|
||||
|
||||
#include <glib.h>
|
||||
|
Reference in New Issue
Block a user