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/client.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 '')
-rw-r--r-- | src/client.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/client.h b/src/client.h index 98b31f7..871acad 100644 --- a/src/client.h +++ b/src/client.h | |||
@@ -11,7 +11,7 @@ | |||
11 | #include <stdint.h> | 11 | #include <stdint.h> |
12 | 12 | ||
13 | #include "bu/config.h" | 13 | #include "bu/config.h" |
14 | #include "bu/fstring.h" | 14 | #include "bu/string.h" |
15 | #include "bu/queuebuf.h" | 15 | #include "bu/queuebuf.h" |
16 | 16 | ||
17 | namespace Bu | 17 | namespace Bu |
@@ -33,9 +33,9 @@ namespace Bu | |||
33 | void processInput(); | 33 | void processInput(); |
34 | void processOutput(); | 34 | void processOutput(); |
35 | 35 | ||
36 | //Bu::FString &getInput(); | 36 | //Bu::String &getInput(); |
37 | //Bu::FString &getOutput(); | 37 | //Bu::String &getOutput(); |
38 | size_t write( const Bu::FString &sData ); | 38 | size_t write( const Bu::String &sData ); |
39 | size_t write( const void *pData, size_t nBytes ); | 39 | size_t write( const void *pData, size_t nBytes ); |
40 | size_t write( int8_t nData ); | 40 | size_t write( int8_t nData ); |
41 | size_t write( int16_t nData ); | 41 | size_t write( int16_t nData ); |
@@ -66,7 +66,7 @@ namespace Bu | |||
66 | 66 | ||
67 | class ClientLink *getLink(); | 67 | class ClientLink *getLink(); |
68 | 68 | ||
69 | void onMessage( const Bu::FString &sMsg ); | 69 | void onMessage( const Bu::String &sMsg ); |
70 | 70 | ||
71 | bool hasOutput() { return qbWrite.getSize() > 0; } | 71 | bool hasOutput() { return qbWrite.getSize() > 0; } |
72 | bool hasInput() { return qbRead.getSize() > 0; } | 72 | bool hasInput() { return qbRead.getSize() > 0; } |