mud++0.26/etc/
mud++0.26/etc/guilds/
mud++0.26/log/
mud++0.26/mudC/
mud++0.26/player/
mud++0.26/src/unix/
/*
....[@@@..[@@@..............[@.................. MUD++ is a written from
....[@..[@..[@..[@..[@..[@@@@@....[@......[@.... scratch multi-user swords and
....[@..[@..[@..[@..[@..[@..[@..[@@@@@..[@@@@@.. sorcery game written in C++.
....[@......[@..[@..[@..[@..[@....[@......[@.... This server is an ongoing
....[@......[@..[@@@@@..[@@@@@.................. development project.  All 
................................................ contributions are welcome. 
....Copyright(C).1995.Melvin.Smith.............. Enjoy. 
------------------------------------------------------------------------------
Melvin Smith (aka Fusion)         msmith@hom.net 
MUD++ development mailing list    mudpp-list@mailhost.net
------------------------------------------------------------------------------
persistent.h
*/

#ifndef _STREAMABLE_H
#define _STREAMABLE_H

#include "io.h"
#include "string.h"

// Any object that can write or read itself to and from a stream 

class Streamable 
{
	public:
		virtual ~Streamable() {}

		// Interface for all 'Streamable' objects
		// Child classes must implement all pure virtual
		// functions and fulfill the requirement of a 'Streamable'

		virtual int readFrom( InFile & ) = 0;
		virtual int writeTo( OutFile & ) const = 0;
};


#endif