diff options
author | Max Kellermann <max@duempel.org> | 2014-05-11 18:25:55 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-05-11 18:25:55 +0200 |
commit | fd1b04932a07e146a0a3c4ce52ace068a112587b (patch) | |
tree | fdc799083a93453b962e6bc9f8d9d95e624bd441 /src/input/InputStream.hxx | |
parent | d4b625b48e6bbac61b4128aeeaf44911b2e3e03b (diff) | |
download | mpd-fd1b04932a07e146a0a3c4ce52ace068a112587b.tar.gz mpd-fd1b04932a07e146a0a3c4ce52ace068a112587b.tar.xz mpd-fd1b04932a07e146a0a3c4ce52ace068a112587b.zip |
InputStream: remove attribute "plugin"
Diffstat (limited to 'src/input/InputStream.hxx')
-rw-r--r-- | src/input/InputStream.hxx | 15 |
1 files changed, 2 insertions, 13 deletions
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,7 +32,6 @@ class Cond; class Error; struct Tag; -struct InputPlugin; class InputStream { public: @@ -40,11 +39,6 @@ public: private: /** - * the plugin which implements this input stream - */ - const InputPlugin &plugin; - - /** * The absolute URI which was used to open this stream. */ std::string uri; @@ -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. * |