diff options
author | Max Kellermann <max@duempel.org> | 2014-10-02 19:14:59 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-10-02 19:14:59 +0200 |
commit | 37501d9bc7b4bf4b0d82d1d686fcc20b3fb856eb (patch) | |
tree | a4786277baba95ae865c4187dab40a34566852e0 | |
parent | 89f9561d10c6c7d39c466bc8432793fcaa89fd9d (diff) | |
download | mpd-37501d9bc7b4bf4b0d82d1d686fcc20b3fb856eb.tar.gz mpd-37501d9bc7b4bf4b0d82d1d686fcc20b3fb856eb.tar.xz mpd-37501d9bc7b4bf4b0d82d1d686fcc20b3fb856eb.zip |
input/file: convert to class
-rw-r--r-- | src/input/plugins/FileInputPlugin.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/input/plugins/FileInputPlugin.cxx b/src/input/plugins/FileInputPlugin.cxx index 922c54b79..8dd114999 100644 --- a/src/input/plugins/FileInputPlugin.cxx +++ b/src/input/plugins/FileInputPlugin.cxx @@ -33,9 +33,10 @@ static constexpr Domain file_domain("file"); -struct FileInputStream final : public InputStream { +class FileInputStream final : public InputStream { int fd; +public: FileInputStream(const char *path, int _fd, off_t _size, Mutex &_mutex, Cond &_cond) :InputStream(path, _mutex, _cond), |