aboutsummaryrefslogtreecommitdiff
path: root/src/membuf.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2011-01-20 02:14:08 +0000
committerMike Buland <eichlan@xagasoft.com>2011-01-20 02:14:08 +0000
commitf5aca1a1b402bd7ebc944dc6e6fe65828d863365 (patch)
tree4a0fdd8e166d5c4b03543279d332b9a858ef62df /src/membuf.h
parent10c557562e1d67c55314c212371ea9cb7f802863 (diff)
downloadlibbu++-f5aca1a1b402bd7ebc944dc6e6fe65828d863365.tar.gz
libbu++-f5aca1a1b402bd7ebc944dc6e6fe65828d863365.tar.bz2
libbu++-f5aca1a1b402bd7ebc944dc6e6fe65828d863365.tar.xz
libbu++-f5aca1a1b402bd7ebc944dc6e6fe65828d863365.zip
Bu::FString is now String, and there's a shell script to fix any other programs
that were using fstring, I hope.
Diffstat (limited to '')
-rw-r--r--src/membuf.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/membuf.h b/src/membuf.h
index a75aca1..7faa956 100644
--- a/src/membuf.h
+++ b/src/membuf.h
@@ -12,7 +12,7 @@
12 12
13#include "bu/config.h" 13#include "bu/config.h"
14#include "bu/stream.h" 14#include "bu/stream.h"
15#include "bu/fstring.h" 15#include "bu/string.h"
16 16
17namespace Bu 17namespace Bu
18{ 18{
@@ -24,7 +24,7 @@ namespace Bu
24 { 24 {
25 public: 25 public:
26 MemBuf(); 26 MemBuf();
27 MemBuf( const Bu::FString &str ); 27 MemBuf( const Bu::String &str );
28 virtual ~MemBuf(); 28 virtual ~MemBuf();
29 29
30 virtual void close(); 30 virtual void close();
@@ -48,11 +48,11 @@ namespace Bu
48 virtual void setBlocking( bool bBlocking=true ); 48 virtual void setBlocking( bool bBlocking=true );
49 virtual void setSize( size iSize ); 49 virtual void setSize( size iSize );
50 50
51 Bu::FString &getString(); 51 Bu::String &getString();
52 void setString( const Bu::FString &sNewData ); 52 void setString( const Bu::String &sNewData );
53 53
54 private: 54 private:
55 Bu::FString sBuf; 55 Bu::String sBuf;
56 size nPos; 56 size nPos;
57 }; 57 };
58} 58}