// // 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 FILELOAD DRIVER INCLUDE FILE // //:--------------------------------------------------------------------------- #ifndef _DRV_MEMIO_H #define _DRV_MEMIO_H #include "llstream.h" #include "llfile.h" class CmemFile : public CStreamModule { public: CmemFile(); CmemFile( void * baseadress, int size ); virtual ~CmemFile(); public: virtual int read ( void *ioBuf, int iNum); virtual int write ( void *ioBuf, int iNum); virtual int ioCtl ( char *iCmd, void *ioOption ); virtual CStreamModule * Clone(); private: int Close(void); int Open(char *filename); public: llfile_sMAPFILE m_memhandle; }; #endif // _DRV_MEMIO_H