00001 /* 00002 /-------------------------------------------------------------------- 00003 | 00004 | $Id: plmemsrc.h,v 1.1 2004/05/21 21:02:52 maxx Exp $ 00005 | 00006 | Copyright (c) 1996-1998 Ulrich von Zadow 00007 | 00008 \-------------------------------------------------------------------- 00009 */ 00010 00011 #ifndef INCL_PLMEMSRC 00012 #define INCL_PLMEMSRC 00013 00014 #ifndef INCL_PLDATASRC 00015 #include "pldatasrc.h" 00016 #endif 00017 00020 class PLMemSource : public PLDataSource 00021 { 00022 public: 00024 PLMemSource 00025 (); 00026 00028 virtual ~PLMemSource 00029 (); 00030 00032 virtual int Open( unsigned char *pek, int size); 00033 00035 virtual void Close 00036 (); 00037 00038 virtual PLBYTE * ReadNBytes 00039 ( int n 00040 ); 00041 00043 virtual PLBYTE * GetBufferPtr 00044 ( int MinBytesInBuffer 00045 ); 00046 00049 virtual PLBYTE * ReadEverything 00050 (); 00051 00052 private: 00053 PLBYTE * m_pCurPos; 00054 }; 00055 00056 #endif 00057 /* 00058 /-------------------------------------------------------------------- 00059 | 00060 | $Log: plmemsrc.h,v $ 00061 | Revision 1.1 2004/05/21 21:02:52 maxx 00062 | Initial Version of vuVolume, moderatly changed to make it compile on my windows and linux machine. 00063 | 00064 | Revision 1.1 2002/11/13 01:58:21 mspindle 00065 | *** empty log message *** 00066 | 00067 | Revision 1.3 2001/10/16 17:12:26 uzadow 00068 | Added support for resolution information (Luca Piergentili) 00069 | 00070 | Revision 1.2 2001/10/06 22:37:08 uzadow 00071 | Linux compatibility. 00072 | 00073 | Revision 1.1 2001/09/16 19:03:22 uzadow 00074 | Added global name prefix PL, changed most filenames. 00075 | 00076 | Revision 1.1 2000/03/17 10:51:38 Ulrich von Zadow 00077 | no message 00078 | 00079 | 00080 | 00081 \-------------------------------------------------------------------- 00082 */