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/queuebuf.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/queuebuf.h') diff --git a/src/queuebuf.h b/src/queuebuf.h index 382863d..395c6ba 100644 --- a/src/queuebuf.h +++ b/src/queuebuf.h @@ -45,6 +45,7 @@ namespace Bu virtual bool isSeekable(); virtual bool isBlocking(); virtual void setBlocking( bool bBlocking=true ); + virtual void setSize( long iSize ); private: void addBlock(); -- cgit v1.2.3