diff options
Diffstat (limited to 'src/stream.h')
| -rw-r--r-- | src/stream.h | 8 |
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 | ||
| 18 | namespace Bu | 18 | namespace 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 | ||
