From 51f9aa16cbdd78c0b31483df26d0f7e81376f974 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Wed, 23 Jan 2008 16:44:10 +0000 Subject: 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. --- src/archive.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/archive.h') 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 @@ #include #include -#include "bu/archival.h" -#include "bu/stream.h" #include #include "bu/hash.h" #include "bu/list.h" @@ -19,6 +17,9 @@ namespace Bu { + class Archival; + class Stream; + /** * Provides a framework for serialization of objects and primitives. The * archive will handle any basic primitive, a few special types, like char * -- cgit v1.2.3