aboutsummaryrefslogtreecommitdiffstats
path: root/src/fs/io/FileReader.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-03-03 18:10:02 +0100
committerMax Kellermann <max@duempel.org>2015-03-03 21:48:45 +0100
commit57ad3aca8ef5dbbfea2d512e9d1ae77f1fb24e37 (patch)
treef998c4298464aa61f05a7636b8eec42efe099acc /src/fs/io/FileReader.hxx
parentf677f42be7a106fde811327c8d475493c6ec10ad (diff)
downloadmpd-57ad3aca8ef5dbbfea2d512e9d1ae77f1fb24e37.tar.gz
mpd-57ad3aca8ef5dbbfea2d512e9d1ae77f1fb24e37.tar.xz
mpd-57ad3aca8ef5dbbfea2d512e9d1ae77f1fb24e37.zip
input/file: use class FileReader
Diffstat (limited to '')
-rw-r--r--src/fs/io/FileReader.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/fs/io/FileReader.hxx b/src/fs/io/FileReader.hxx
index c67bd6d77..642fc5ed1 100644
--- a/src/fs/io/FileReader.hxx
+++ b/src/fs/io/FileReader.hxx
@@ -78,6 +78,12 @@ public:
#endif
}
+#ifndef WIN32
+ FileDescriptor GetFD() const {
+ return fd;
+ }
+#endif
+
void Close();
bool GetFileInfo(FileInfo &info, Error &error) const;