diff options
author | Mike Buland <eichlan@xagasoft.com> | 2007-06-29 00:48:32 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2007-06-29 00:48:32 +0000 |
commit | ec8ed8b4b44c7b039e87faaa50bb4d503393d336 (patch) | |
tree | 7ea933f72bf2186f12658f96a30e451622fc485a /src/membuf.cpp | |
parent | 76ea96f91115585f7c6b49d11ba60ec15bee12e6 (diff) | |
download | libbu++-ec8ed8b4b44c7b039e87faaa50bb4d503393d336.tar.gz libbu++-ec8ed8b4b44c7b039e87faaa50bb4d503393d336.tar.bz2 libbu++-ec8ed8b4b44c7b039e87faaa50bb4d503393d336.tar.xz libbu++-ec8ed8b4b44c7b039e87faaa50bb4d503393d336.zip |
A few changes here and there, mainly related to getting the new Server system
working in optimal condition...
Diffstat (limited to 'src/membuf.cpp')
-rw-r--r-- | src/membuf.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/membuf.cpp b/src/membuf.cpp index 3c394b0..45ff5bd 100644 --- a/src/membuf.cpp +++ b/src/membuf.cpp | |||
@@ -7,6 +7,12 @@ Bu::MemBuf::MemBuf() : | |||
7 | { | 7 | { |
8 | } | 8 | } |
9 | 9 | ||
10 | Bu::MemBuf::MemBuf( const Bu::FString &str ) : | ||
11 | sBuf( str ), | ||
12 | nPos( 0 ) | ||
13 | { | ||
14 | } | ||
15 | |||
10 | Bu::MemBuf::~MemBuf() | 16 | Bu::MemBuf::~MemBuf() |
11 | { | 17 | { |
12 | } | 18 | } |
@@ -107,3 +113,8 @@ void Bu::MemBuf::setBlocking( bool bBlocking ) | |||
107 | { | 113 | { |
108 | } | 114 | } |
109 | 115 | ||
116 | Bu::FString &Bu::MemBuf::getString() | ||
117 | { | ||
118 | return sBuf; | ||
119 | } | ||
120 | |||