aboutsummaryrefslogtreecommitdiffstats
path: root/src/fs/io/FileReader.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-03-03 20:34:02 +0100
committerMax Kellermann <max@duempel.org>2015-03-03 21:41:11 +0100
commita5760670efca8ea6c4b4d425ea5e0479c760b48e (patch)
treefb427ca3919fbdd5dd59222ac1b2ab548dc8d9cd /src/fs/io/FileReader.hxx
parentf04a3ec2017d63b8bb48e3d71c6502779a05321a (diff)
downloadmpd-a5760670efca8ea6c4b4d425ea5e0479c760b48e.tar.gz
mpd-a5760670efca8ea6c4b4d425ea5e0479c760b48e.tar.xz
mpd-a5760670efca8ea6c4b4d425ea5e0479c760b48e.zip
fs/io/FileReader: add method GetFileInfo()
Diffstat (limited to '')
-rw-r--r--src/fs/io/FileReader.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fs/io/FileReader.hxx b/src/fs/io/FileReader.hxx
index 53651380f..c67bd6d77 100644
--- a/src/fs/io/FileReader.hxx
+++ b/src/fs/io/FileReader.hxx
@@ -36,6 +36,7 @@
#endif
class Path;
+class FileInfo;
class FileReader final : public Reader {
AllocatedPath path;
@@ -79,6 +80,8 @@ public:
void Close();
+ bool GetFileInfo(FileInfo &info, Error &error) const;
+
bool Seek(off_t offset, Error &error);
/* virtual methods from class Reader */