diff options
author | Mike Buland <eichlan@xagasoft.com> | 2008-01-23 16:44:10 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2008-01-23 16:44:10 +0000 |
commit | 51f9aa16cbdd78c0b31483df26d0f7e81376f974 (patch) | |
tree | d00b95cbcd607fc4d6a70d133794d69b99491d55 /src/archive.h | |
parent | 1ea5bd399b081b598435e52854107bc506640a28 (diff) | |
download | libbu++-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/archive.h')
-rw-r--r-- | src/archive.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/archive.h b/src/archive.h index 2d95285..fbd971e 100644 --- a/src/archive.h +++ b/src/archive.h | |||
@@ -10,8 +10,6 @@ | |||
10 | 10 | ||
11 | #include <stdint.h> | 11 | #include <stdint.h> |
12 | #include <string> | 12 | #include <string> |
13 | #include "bu/archival.h" | ||
14 | #include "bu/stream.h" | ||
15 | #include <list> | 13 | #include <list> |
16 | #include "bu/hash.h" | 14 | #include "bu/hash.h" |
17 | #include "bu/list.h" | 15 | #include "bu/list.h" |
@@ -19,6 +17,9 @@ | |||
19 | 17 | ||
20 | namespace Bu | 18 | namespace Bu |
21 | { | 19 | { |
20 | class Archival; | ||
21 | class Stream; | ||
22 | |||
22 | /** | 23 | /** |
23 | * Provides a framework for serialization of objects and primitives. The | 24 | * Provides a framework for serialization of objects and primitives. The |
24 | * archive will handle any basic primitive, a few special types, like char * | 25 | * archive will handle any basic primitive, a few special types, like char * |