diff options
author | Mike Buland <eichlan@xagasoft.com> | 2010-05-24 15:10:19 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2010-05-24 15:10:19 +0000 |
commit | ecc191f590f76584a14c9c51727412b0b7b3086e (patch) | |
tree | b27ee434ed541ba3a386ff6a3238f66b9451ef22 /src/filter.h | |
parent | 71191e311d949b1b7bdd74fc36a14306f492c181 (diff) | |
download | libbu++-ecc191f590f76584a14c9c51727412b0b7b3086e.tar.gz libbu++-ecc191f590f76584a14c9c51727412b0b7b3086e.tar.bz2 libbu++-ecc191f590f76584a14c9c51727412b0b7b3086e.tar.xz libbu++-ecc191f590f76584a14c9c51727412b0b7b3086e.zip |
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.
Diffstat (limited to 'src/filter.h')
-rw-r--r-- | src/filter.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 | |||
62 | virtual bool isBlocking(); | 62 | virtual bool isBlocking(); |
63 | virtual void setBlocking( bool bBlocking=true ); | 63 | virtual void setBlocking( bool bBlocking=true ); |
64 | 64 | ||
65 | /** | ||
66 | * Most filters won't re-implement this, it doesn't make a lot of sense | ||
67 | * for filters, in general. | ||
68 | */ | ||
69 | virtual void setSize( long iSize ); | ||
70 | |||
65 | protected: | 71 | protected: |
66 | Bu::Stream &rNext; | 72 | Bu::Stream &rNext; |
67 | 73 | ||