diff options
author | Mike Buland <eichlan@xagasoft.com> | 2011-01-20 02:14:08 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2011-01-20 02:14:08 +0000 |
commit | f5aca1a1b402bd7ebc944dc6e6fe65828d863365 (patch) | |
tree | 4a0fdd8e166d5c4b03543279d332b9a858ef62df /src/membuf.h | |
parent | 10c557562e1d67c55314c212371ea9cb7f802863 (diff) | |
download | libbu++-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 'src/membuf.h')
-rw-r--r-- | src/membuf.h | 10 |
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 | ||
17 | namespace Bu | 17 | namespace 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 | } |