diff options
| author | Mike Buland <eichlan@xagasoft.com> | 2009-02-24 01:31:48 +0000 |
|---|---|---|
| committer | Mike Buland <eichlan@xagasoft.com> | 2009-02-24 01:31:48 +0000 |
| commit | 22277c6ffe91189cbb5d7a7d8572bf829e3a2610 (patch) | |
| tree | 5e9d2a7aa1e1d2c2efe8696ff174d125de6051a4 /src/buffer.cpp | |
| parent | 88b3a5acf78aa9a2d73f2462e45988f5afb9d2c5 (diff) | |
| download | libbu++-22277c6ffe91189cbb5d7a7d8572bf829e3a2610.tar.gz libbu++-22277c6ffe91189cbb5d7a7d8572bf829e3a2610.tar.bz2 libbu++-22277c6ffe91189cbb5d7a7d8572bf829e3a2610.tar.xz libbu++-22277c6ffe91189cbb5d7a7d8572bf829e3a2610.zip | |
Just committing some in-progress code. It may report some warnings, but it
doesn't inhibit building. These'll be in good working shape in no time.
Diffstat (limited to 'src/buffer.cpp')
| -rw-r--r-- | src/buffer.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/buffer.cpp b/src/buffer.cpp new file mode 100644 index 0000000..abb4fed --- /dev/null +++ b/src/buffer.cpp | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | #include "bu/buffer.h" | ||
| 2 | |||
| 3 | Bu::Buffer::Buffer( Bu::Stream &rNext, int iBufsize ) : | ||
| 4 | Bu::Filter( rNext ), | ||
| 5 | sSoFar( 0 ), | ||
| 6 | iBufSize( iBufSize ), | ||
| 7 | sReadBuf( NULL ), | ||
| 8 | sWriteBuf( NULL ), | ||
| 9 | iReadBufFill( 0 ), | ||
| 10 | iWriteBufFill( 0 ) | ||
| 11 | { | ||
| 12 | } | ||
| 13 | |||
| 14 | Bu::Buffer::~Buffer() | ||
| 15 | { | ||
| 16 | } | ||
| 17 | |||
