aboutsummaryrefslogtreecommitdiff
path: root/src/stream.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/stream.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 'src/stream.h')
-rw-r--r--src/stream.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/stream.h b/src/stream.h
index e7db7af..abbc9e8 100644
--- a/src/stream.h
+++ b/src/stream.h
@@ -13,7 +13,7 @@
13#include <stdint.h> 13#include <stdint.h>
14#include <stdio.h> 14#include <stdio.h>
15 15
16#include "bu/fstring.h" 16#include "bu/string.h"
17 17
18namespace Bu 18namespace Bu
19{ 19{
@@ -53,7 +53,7 @@ namespace Bu
53 * data in a non-blocking stream. 53 * data in a non-blocking stream.
54 *@returns The line read, not including newline character. 54 *@returns The line read, not including newline character.
55 */ 55 */
56 virtual Bu::FString readLine(); 56 virtual Bu::String readLine();
57 57
58 /** 58 /**
59 * Write data to the stream. 59 * Write data to the stream.
@@ -63,7 +63,7 @@ namespace Bu
63 */ 63 */
64 virtual size write( const void *pBuf, size iBytes ) = 0; 64 virtual size write( const void *pBuf, size iBytes ) = 0;
65 65
66 virtual size write( const Bu::FString &sBuf ); 66 virtual size write( const Bu::String &sBuf );
67 67
68 /** 68 /**
69 * Get the current position in the stream. 69 * Get the current position in the stream.
@@ -185,7 +185,7 @@ namespace Bu
185 * it may give you an ip address, etc. If it isn't supported, an empty 185 * it may give you an ip address, etc. If it isn't supported, an empty
186 * string may be returned. 186 * string may be returned.
187 */ 187 */
188 virtual Bu::FString getLocation() const = 0; 188 virtual Bu::String getLocation() const = 0;
189 189
190 private: 190 private:
191 191