00001 /* 00002 /-------------------------------------------------------------------- 00003 | 00004 | $Id: plmemsink.h,v 1.1 2004/05/21 21:02:52 maxx Exp $ 00005 | 00006 | Copyright (c) 1996-2002 Ulrich von Zadow 00007 | 00008 \-------------------------------------------------------------------- 00009 */ 00010 00011 #ifndef INCL_PLMEMSINK 00012 #define INCL_PLMEMSINK 00013 00014 #include "pldatasink.h" 00015 #include "plpaintlibdefs.h" 00016 00018 class PLMemSink : public PLDataSink 00019 { 00020 00021 public: 00023 PLMemSink 00024 (); 00025 00027 virtual ~PLMemSink 00028 (); 00029 00031 virtual int Open 00032 ( const char * pszFName, 00033 int MaxFileSize 00034 ); 00035 00037 virtual void Close 00038 (); 00039 00040 virtual PLBYTE* GetBytes(); 00041 00042 private: 00043 PLBYTE * m_pDataBuf; 00044 }; 00045 00046 #endif 00047 00048 /* 00049 /-------------------------------------------------------------------- 00050 | 00051 | $Log: plmemsink.h,v $ 00052 | Revision 1.1 2004/05/21 21:02:52 maxx 00053 | Initial Version of vuVolume, moderatly changed to make it compile on my windows and linux machine. 00054 | 00055 | Revision 1.1 2002/11/13 01:58:21 mspindle 00056 | *** empty log message *** 00057 | 00058 | Revision 1.3 2002/02/24 13:00:22 uzadow 00059 | Documentation update; removed buggy PLFilterRotate. 00060 | 00061 | Revision 1.2 2001/10/06 22:03:26 uzadow 00062 | Added PL prefix to basic data types. 00063 | 00064 | Revision 1.1 2001/09/16 19:03:22 uzadow 00065 | Added global name prefix PL, changed most filenames. 00066 | 00067 | Revision 1.2 2001/02/04 14:31:52 uzadow 00068 | Member initialization list cleanup (Erik Hoffmann). 00069 | 00070 | Revision 1.1 2000/10/12 21:57:26 uzadow 00071 | no message 00072 | 00073 | 00074 | 00075 \-------------------------------------------------------------------- 00076 */