// // G A M E.O.N.E - LOW LEVEL LIB V1.0 // Copyright (C) 2001 LEVEL ONE ENTERTAINMENT, // Licensed under the terms of LGPL. //:--------------------------------------------------------------------------- //:Description // // LOW LEVEL Decoder STREAM MODULE // //:--------------------------------------------------------------------------- #ifndef _STREAM_DECODER_H #define _STREAM_DECODER_H #include "llstream.h" class CDecoderModule : public CStreamModule { public: CDecoderModule(); virtual ~CDecoderModule(); virtual int read(void *ioBuf, int iNum); virtual int ioCtl( char *iCmd, void *ioOption );// send a command down the stream CStreamModule * Clone(); void SetMagic(char * key); private: void Close(); int m_readpos; char * m_agic; int m_len; }; #endif // _STREAM_Decoder_H