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/staticstring.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/staticstring.h') diff --git a/src/staticstring.h b/src/staticstring.h index 88cae70..1c98b3c 100644 --- a/src/staticstring.h +++ b/src/staticstring.h @@ -2,6 +2,7 @@ #define STATIC_STRING_H #include +#include "serializable.h" /** * Simple string managing class. Allows for dynamically allocated string data @@ -10,7 +11,7 @@ * and making accessing meta-info like length fast and reliable as well. *@author Mike Buland */ -class StaticString +class StaticString : public Serializable { public: StaticString(); @@ -40,6 +41,8 @@ public: void clear(); + virtual void serialize( class Serializer &ar ); + private: char *lpStr; int nLen; -- cgit v1.2.3