diff options
Diffstat (limited to 'generic/Handle.cpp')
-rw-r--r-- | generic/Handle.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/generic/Handle.cpp b/generic/Handle.cpp index 6d02381..44b01de 100644 --- a/generic/Handle.cpp +++ b/generic/Handle.cpp @@ -289,3 +289,11 @@ ssize_t Handle::uread(void * buf, size_t count) { off_t Handle::tell() { return itell; } + +bool Handle::CanSeek() { + return 0; +} + +off_t Handle::seek(off_t, int) throw(GeneralException) { + throw IOGeneral("Handle " + GetName() + " can't seek"); +} |