From ec0f82bb6ea911baee6b9654f799f037282bf5b9 Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Sun, 10 Aug 2014 02:58:35 -0700 Subject: Introducing notion of filters. --- src/Handle.cc | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/Handle.cc') diff --git a/src/Handle.cc b/src/Handle.cc index e73d2fc..2002bc4 100644 --- a/src/Handle.cc +++ b/src/Handle.cc @@ -24,12 +24,6 @@ static const char * strerror_r(int errorno, char * buf, size_t bufsize) { } #endif -bool Balau::Handle::canSeek() { return false; } -bool Balau::Handle::canRead() { return false; } -bool Balau::Handle::canWrite() { return false; } -off64_t Balau::Handle::getSize() { return -1; } -time_t Balau::Handle::getMTime() { return -1; } - ssize_t Balau::Handle::read(void * buf, size_t count) throw (GeneralException) { if (canRead()) throw GeneralException(String("Handle ") + getName() + " can read, but read() not implemented (missing in class " + ClassName(this).c_str() + ")"); -- cgit v1.2.3