From eb71d88041ccbb0aec3532f9b1aa40e956e948c2 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Sat, 13 May 2006 01:54:06 +0000 Subject: Changed some things in the serializer...it's cool --- src/serializerbinary.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/serializerbinary.h') diff --git a/src/serializerbinary.h b/src/serializerbinary.h index 7323d3b..9d68d46 100644 --- a/src/serializerbinary.h +++ b/src/serializerbinary.h @@ -13,9 +13,9 @@ public: virtual void close(); - virtual void write(void *, int32_t); + virtual void write(const void *, int32_t); virtual void read(void *, int32_t); - + virtual Serializer &operator<<(bool); virtual Serializer &operator<<(int8_t); virtual Serializer &operator<<(int16_t); @@ -41,6 +41,7 @@ public: virtual Serializer &operator>>(float &); virtual Serializer &operator>>(double &); virtual Serializer &operator>>(long double &); + private: FILE *fhFile; bool bCloseFile; -- cgit v1.2.3