From 7c6c9538b03c9eae24e38fbeb30dd76a16aff1d2 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 20 Jan 2011 05:30:43 +0000 Subject: Wow, got the Stream changes propegated, all tests build with string instead of fstring, and updated the copyright notice to extend to 2011 --- src/filter.cpp | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-) (limited to 'src/filter.cpp') diff --git a/src/filter.cpp b/src/filter.cpp index 900baaa..3fe8f0e 100644 --- a/src/filter.cpp +++ b/src/filter.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2007-2010 Xagasoft, All rights reserved. + * Copyright (C) 2007-2011 Xagasoft, All rights reserved. * * This file is part of the libbu++ library and is released under the * terms of the license contained in the file LICENSE. @@ -22,22 +22,22 @@ void Bu::Filter::close() rNext.close(); } -long Bu::Filter::tell() +Bu::size Bu::Filter::tell() { return rNext.tell(); } -void Bu::Filter::seek( long offset ) +void Bu::Filter::seek( Bu::size offset ) { rNext.seek( offset ); } -void Bu::Filter::setPos( long pos ) +void Bu::Filter::setPos( Bu::size pos ) { rNext.setPos( pos ); } -void Bu::Filter::setPosEnd( long pos ) +void Bu::Filter::setPosEnd( Bu::size pos ) { rNext.setPosEnd( pos ); } @@ -87,7 +87,7 @@ void Bu::Filter::setBlocking( bool bBlocking ) rNext.setBlocking( bBlocking ); } -void Bu::Filter::setSize( long ) +void Bu::Filter::setSize( Bu::size ) { } @@ -96,3 +96,18 @@ void Bu::Filter::flush() rNext.flush(); } +Bu::size Bu::Filter::getSize() const +{ + return rNext.getSize(); +} + +Bu::size Bu::Filter::getBlockSize() const +{ + return rNext.getBlockSize(); +} + +Bu::String Bu::Filter::getLocation() const +{ + return rNext.getLocation(); +} + -- cgit v1.2.3