aboutsummaryrefslogtreecommitdiff
path: root/src/membuf.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2008-01-23 16:44:10 +0000
committerMike Buland <eichlan@xagasoft.com>2008-01-23 16:44:10 +0000
commit51f9aa16cbdd78c0b31483df26d0f7e81376f974 (patch)
treed00b95cbcd607fc4d6a70d133794d69b99491d55 /src/membuf.h
parent1ea5bd399b081b598435e52854107bc506640a28 (diff)
downloadlibbu++-51f9aa16cbdd78c0b31483df26d0f7e81376f974.tar.gz
libbu++-51f9aa16cbdd78c0b31483df26d0f7e81376f974.tar.bz2
libbu++-51f9aa16cbdd78c0b31483df26d0f7e81376f974.tar.xz
libbu++-51f9aa16cbdd78c0b31483df26d0f7e81376f974.zip
Added a new helper to the Stream classes, a write function that takes a single
Bu::FString reference as a parameter. Unfortunately you need to remember to add "using Stream::write;" to each child class so they can take advantage of it. Strange, no? Also, cleaned up a bunch of header files, I'm trying to move towards headers only including other headers that they absolutely need, otherwise just creating forward decleration sections at the top of each.
Diffstat (limited to 'src/membuf.h')
-rw-r--r--src/membuf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/membuf.h b/src/membuf.h
index 1a2abe4..a8caa16 100644
--- a/src/membuf.h
+++ b/src/membuf.h
@@ -34,6 +34,7 @@ namespace Bu
34 * of our bases for now. 34 * of our bases for now.
35 */ 35 */
36 virtual size_t write( const void *pBuf, size_t nBytes ); 36 virtual size_t write( const void *pBuf, size_t nBytes );
37 using Stream::write;
37 virtual long tell(); 38 virtual long tell();
38 virtual void seek( long offset ); 39 virtual void seek( long offset );
39 virtual void setPos( long pos ); 40 virtual void setPos( long pos );