aboutsummaryrefslogtreecommitdiffstats
path: root/src/fs/io/FileReader.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-03-03 14:29:36 +0100
committerMax Kellermann <max@duempel.org>2015-03-03 14:29:36 +0100
commitdd5daa0767c806b4027482f589ff1e9676b413e4 (patch)
tree70e873297cd2963e20887d81ec96f5730faf267a /src/fs/io/FileReader.hxx
parentef5090c3976ca14784c7b98f3d110e1213c158ba (diff)
downloadmpd-dd5daa0767c806b4027482f589ff1e9676b413e4.tar.gz
mpd-dd5daa0767c806b4027482f589ff1e9676b413e4.tar.xz
mpd-dd5daa0767c806b4027482f589ff1e9676b413e4.zip
fs/io/FileReader: add method Seek()
Diffstat (limited to '')
-rw-r--r--src/fs/io/FileReader.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fs/io/FileReader.hxx b/src/fs/io/FileReader.hxx
index 96054d936..9a1c17c6b 100644
--- a/src/fs/io/FileReader.hxx
+++ b/src/fs/io/FileReader.hxx
@@ -61,6 +61,8 @@ public:
void Close();
+ bool Seek(off_t offset, Error &error);
+
/* virtual methods from class Reader */
size_t Read(void *data, size_t size, Error &error) override;
};