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/myriad.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/myriad.h') diff --git a/src/myriad.h b/src/myriad.h index 9bbc812..8e7cfb1 100644 --- a/src/myriad.h +++ b/src/myriad.h @@ -150,6 +150,8 @@ namespace Bu void releaseBlock( Block *pBlock ); void syncBlock( Block *pBlock ); + void setStreamSize( Stream *pStream, long iSize ); + private: Bu::Stream &sStore; int iBlockSize; -- cgit v1.2.3