#ifndef __MVFSResource

#define __MVFSResource

#include "MVFSFile.h"

class MVFSFILEResource : public MVFSFILE
{
public:
  virtual int       fopen     (const char* pcFileName, const char* pcFileAttrib) ;
  virtual int       fclose    ()                                                 ;
  virtual unsigned  fread     (void * pvDest, size_t uItemSize, size_t uItem)    ;
  virtual unsigned  fwrite    (void * pvSrc,  size_t uItemSize, size_t uItem)    ;
  virtual int       ftell     ()                                                 ;
  virtual int       fseek     (long lDisplace, int iRelative)                    ;
  virtual int       fprintf   (const char* pcDString)                            ;
  virtual int       fflush    ()                                                 ;
  virtual char*     fgets     (char* pcBuffer, int iBufferSize)                  ;

  void*             m_pData;
  int               m_iPosition;
  int               m_iLength;
};

#endif