00001 /* 00002 /-------------------------------------------------------------------- 00003 | 00004 | $Id: plfilesink.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 // not quite ready for prime-time; bdelmee; 2/99 00011 00012 #ifndef INCL_PLFILESNK 00013 #define INCL_PLFILESNK 00014 00015 #ifndef INCL_PLDATASNK 00016 #include "pldatasink.h" 00017 #endif 00018 00019 #include <stdio.h> 00020 00028 class PLFileSink : public PLDataSink 00029 { 00030 00031 public: 00033 PLFileSink 00034 (); 00035 00037 virtual ~PLFileSink 00038 (); 00039 00041 virtual int Open 00042 ( const char * pszFName, 00043 int MaxFileSize 00044 ); 00045 00047 virtual void Close 00048 (); 00049 00050 private: 00051 FILE * m_pFile; 00052 PLBYTE * m_pDataBuf; 00053 }; 00054 00055 #endif 00056 00057 /* 00058 /-------------------------------------------------------------------- 00059 | 00060 | $Log: plfilesink.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.2 2001/10/06 22:37:08 uzadow 00068 | Linux compatibility. 00069 | 00070 | Revision 1.1 2001/09/16 19:03:22 uzadow 00071 | Added global name prefix PL, changed most filenames. 00072 | 00073 | Revision 1.5 2001/09/15 21:02:44 uzadow 00074 | Cleaned up stdpch.h and config.h to make them internal headers. 00075 | 00076 | Revision 1.4 2000/01/16 20:43:13 anonymous 00077 | Removed MFC dependencies 00078 | 00079 | Revision 1.3 2000/01/08 15:56:12 Ulrich von Zadow 00080 | Made sure change logging works in every file. 00081 | 00082 | 00083 \-------------------------------------------------------------------- 00084 */