From fd1b04932a07e146a0a3c4ce52ace068a112587b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 11 May 2014 18:25:55 +0200 Subject: InputStream: remove attribute "plugin" --- src/input/InputStream.hxx | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) (limited to 'src/input/InputStream.hxx') diff --git a/src/input/InputStream.hxx b/src/input/InputStream.hxx index b1f8c0d8c..13f6af32b 100644 --- a/src/input/InputStream.hxx +++ b/src/input/InputStream.hxx @@ -32,18 +32,12 @@ class Cond; class Error; struct Tag; -struct InputPlugin; class InputStream { public: typedef int64_t offset_type; private: - /** - * the plugin which implements this input stream - */ - const InputPlugin &plugin; - /** * The absolute URI which was used to open this stream. */ @@ -99,9 +93,8 @@ private: std::string mime; public: - InputStream(const InputPlugin &_plugin, - const char *_uri, Mutex &_mutex, Cond &_cond) - :plugin(_plugin), uri(_uri), + InputStream(const char *_uri, Mutex &_mutex, Cond &_cond) + :uri(_uri), mutex(_mutex), cond(_cond), ready(false), seekable(false), size(-1), offset(0) { @@ -140,10 +133,6 @@ public: Mutex &mutex, Cond &cond, Error &error); - const InputPlugin &GetPlugin() const { - return plugin; - } - /** * The absolute URI which was used to open this stream. * -- cgit v1.2.3