diff options
| author | Mike Buland <eichlan@xagasoft.com> | 2007-06-25 21:15:55 +0000 |
|---|---|---|
| committer | Mike Buland <eichlan@xagasoft.com> | 2007-06-25 21:15:55 +0000 |
| commit | 3f26c19b0b7a9fa73c58189788972ea43b72f014 (patch) | |
| tree | 8f34928a267fb35becdf939d21187a526f235869 /src/tafwriter.h | |
| parent | 2b0fa89df615cb4789668014475ae64d99e773b5 (diff) | |
| download | libbu++-3f26c19b0b7a9fa73c58189788972ea43b72f014.tar.gz libbu++-3f26c19b0b7a9fa73c58189788972ea43b72f014.tar.bz2 libbu++-3f26c19b0b7a9fa73c58189788972ea43b72f014.tar.xz libbu++-3f26c19b0b7a9fa73c58189788972ea43b72f014.zip | |
I think the plugger and programchain are all up to date to work with the new
libbu++. The program chain may undergo heavy changes still, or be removed
entirely, but we need it for congo and squirrelmud, so here it is for a while
longer.
The TafWriter isn't much closer, you still only get the groups in the output.
Diffstat (limited to 'src/tafwriter.h')
| -rw-r--r-- | src/tafwriter.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/tafwriter.h b/src/tafwriter.h index 7057d62..4310e62 100644 --- a/src/tafwriter.h +++ b/src/tafwriter.h | |||
| @@ -2,6 +2,9 @@ | |||
| 2 | #define BU_TAF_WRITER_H | 2 | #define BU_TAF_WRITER_H |
| 3 | 3 | ||
| 4 | #include <stdint.h> | 4 | #include <stdint.h> |
| 5 | #include "bu/tafnode.h" | ||
| 6 | #include "bu/stream.h" | ||
| 7 | #include "bu/fstring.h" | ||
| 5 | 8 | ||
| 6 | namespace Bu | 9 | namespace Bu |
| 7 | { | 10 | { |
| @@ -11,11 +14,14 @@ namespace Bu | |||
| 11 | class TafWriter | 14 | class TafWriter |
| 12 | { | 15 | { |
| 13 | public: | 16 | public: |
| 14 | TafWriter(); | 17 | TafWriter( Bu::Stream &sOut ); |
| 15 | virtual ~TafWriter(); | 18 | virtual ~TafWriter(); |
| 16 | 19 | ||
| 17 | private: | 20 | void writeNode( Bu::TafNode *pRoot ); |
| 18 | 21 | ||
| 22 | private: | ||
| 23 | void writeString( const Bu::FString &str ); | ||
| 24 | Bu::Stream &sOut; | ||
| 19 | }; | 25 | }; |
| 20 | } | 26 | } |
| 21 | 27 | ||
