From 8ae349b49e16064e4d84b6cfd256e3ca7fb0cd60 Mon Sep 17 00:00:00 2001 From: Pixel Date: Mon, 10 Oct 2011 20:31:41 -0700 Subject: Adding the 'stats' call to Input. Also fixing a bug with the Printer - va_args are vicious. --- src/Handle.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Handle.cc') diff --git a/src/Handle.cc b/src/Handle.cc index c9e3f57..dc4e257 100644 --- a/src/Handle.cc +++ b/src/Handle.cc @@ -51,6 +51,7 @@ bool Balau::Handle::canSeek() { return false; } bool Balau::Handle::canRead() { return false; } bool Balau::Handle::canWrite() { return false; } off_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()) @@ -149,3 +150,4 @@ off_t Balau::SeekableHandle::wtell() throw (GeneralException) { if (!canWrite()) return rtell(); } + -- cgit v1.2.3