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/csvwriter.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/csvwriter.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/csvwriter.h b/src/csvwriter.h index 289d25c..8da5eee 100644 --- a/src/csvwriter.h +++ b/src/csvwriter.h | |||
| @@ -8,19 +8,19 @@ | |||
| 8 | #ifndef BU_CSV_WRITER_H | 8 | #ifndef BU_CSV_WRITER_H |
| 9 | #define BU_CSV_WRITER_H | 9 | #define BU_CSV_WRITER_H |
| 10 | 10 | ||
| 11 | #include "bu/fstring.h" | 11 | #include "bu/string.h" |
| 12 | #include "bu/array.h" | 12 | #include "bu/array.h" |
| 13 | #include "bu/signals.h" | 13 | #include "bu/signals.h" |
| 14 | 14 | ||
| 15 | namespace Bu | 15 | namespace Bu |
| 16 | { | 16 | { |
| 17 | class Stream; | 17 | class Stream; |
| 18 | typedef Bu::Array<Bu::FString> StrArray; | 18 | typedef Bu::Array<Bu::String> StrArray; |
| 19 | 19 | ||
| 20 | class CsvWriter | 20 | class CsvWriter |
| 21 | { | 21 | { |
| 22 | public: | 22 | public: |
| 23 | typedef Bu::Signal1<Bu::FString, const Bu::FString &> EncodeSignal; | 23 | typedef Bu::Signal1<Bu::String, const Bu::String &> EncodeSignal; |
| 24 | enum Style | 24 | enum Style |
| 25 | { | 25 | { |
| 26 | styleExcel, ///< Excel style quotes around things that need em | 26 | styleExcel, ///< Excel style quotes around things that need em |
| @@ -37,8 +37,8 @@ namespace Bu | |||
| 37 | Stream &sOut; | 37 | Stream &sOut; |
| 38 | EncodeSignal sEncode; | 38 | EncodeSignal sEncode; |
| 39 | 39 | ||
| 40 | static Bu::FString encodeExcel( const Bu::FString &sIn ); | 40 | static Bu::String encodeExcel( const Bu::String &sIn ); |
| 41 | static Bu::FString encodeC( const Bu::FString &sIn ); | 41 | static Bu::String encodeC( const Bu::String &sIn ); |
| 42 | }; | 42 | }; |
| 43 | }; | 43 | }; |
| 44 | 44 | ||
