From ecc191f590f76584a14c9c51727412b0b7b3086e Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 24 May 2010 15:10:19 +0000 Subject: Changed the Bu::Stream API, setSize is now standard. There may be a few more things that should be added. A few of them still need to be implemented. I know that truncate for Bu::File is possible on windows, I've used it before, but hell if I can find it. Myriad also needs the setSize function completed. --- src/filter.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/filter.h') diff --git a/src/filter.h b/src/filter.h index 67ffce2..5507daa 100644 --- a/src/filter.h +++ b/src/filter.h @@ -62,6 +62,12 @@ namespace Bu virtual bool isBlocking(); virtual void setBlocking( bool bBlocking=true ); + /** + * Most filters won't re-implement this, it doesn't make a lot of sense + * for filters, in general. + */ + virtual void setSize( long iSize ); + protected: Bu::Stream &rNext; -- cgit v1.2.3