summaryrefslogtreecommitdiff
path: root/src/tafwriter.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2008-01-23 16:44:10 +0000
committerMike Buland <eichlan@xagasoft.com>2008-01-23 16:44:10 +0000
commit51f9aa16cbdd78c0b31483df26d0f7e81376f974 (patch)
treed00b95cbcd607fc4d6a70d133794d69b99491d55 /src/tafwriter.h
parent1ea5bd399b081b598435e52854107bc506640a28 (diff)
downloadlibbu++-51f9aa16cbdd78c0b31483df26d0f7e81376f974.tar.gz
libbu++-51f9aa16cbdd78c0b31483df26d0f7e81376f974.tar.bz2
libbu++-51f9aa16cbdd78c0b31483df26d0f7e81376f974.tar.xz
libbu++-51f9aa16cbdd78c0b31483df26d0f7e81376f974.zip
Added a new helper to the Stream classes, a write function that takes a single
Bu::FString reference as a parameter. Unfortunately you need to remember to add "using Stream::write;" to each child class so they can take advantage of it. Strange, no? Also, cleaned up a bunch of header files, I'm trying to move towards headers only including other headers that they absolutely need, otherwise just creating forward decleration sections at the top of each.
Diffstat (limited to 'src/tafwriter.h')
-rw-r--r--src/tafwriter.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/tafwriter.h b/src/tafwriter.h
index 08c1832..ca0de37 100644
--- a/src/tafwriter.h
+++ b/src/tafwriter.h
@@ -9,12 +9,17 @@
9#define BU_TAF_WRITER_H 9#define BU_TAF_WRITER_H
10 10
11#include <stdint.h> 11#include <stdint.h>
12#include "bu/tafnode.h" 12
13#include "bu/stream.h"
14#include "bu/fstring.h" 13#include "bu/fstring.h"
15 14
16namespace Bu 15namespace Bu
17{ 16{
17 class Stream;
18 class TafNode;
19 class TafGroup;
20 class TafProperty;
21 class TafComment;
22
18 /** 23 /**
19 * 24 *
20 *@ingroup Taf 25 *@ingroup Taf