00001 /* 00002 /-------------------------------------------------------------------- 00003 | 00004 | $Id: plpngdec.h,v 1.1 2004/05/21 21:02:53 maxx Exp $ 00005 | 00006 | Copyright (c) 1996-1998 Ulrich von Zadow 00007 | 00008 -------------------------------------------------------------------- 00009 */ 00010 00011 #ifndef INCL_PLPNGDEC 00012 #define INCL_PLPNGDEC 00013 00014 #ifndef INCL_PLPICDEC 00015 #include "plpicdec.h" 00016 #endif 00017 00018 #ifndef INCL_PLPNG 00019 #include "png.h" 00020 #endif 00021 00022 00023 00031 class PLPNGDecoder : public PLPicDecoder 00032 { 00033 00034 00035 public: 00037 PLPNGDecoder 00038 (); 00039 00041 virtual ~PLPNGDecoder 00042 (); 00043 00044 protected: 00047 virtual void DoDecode 00048 ( PLBmp * pBmp, 00049 PLDataSource * pDataSrc 00050 ); 00051 00052 private: 00053 00054 static void PLPNGDecoder::user_error_fn 00055 ( png_structp png_ptr, 00056 png_const_charp error_msg 00057 ); 00058 00059 static void PLPNGDecoder::user_warning_fn 00060 ( png_structp png_ptr, 00061 png_const_charp warning_msg 00062 ); 00063 }; 00064 00065 #endif 00066 /* 00067 /-------------------------------------------------------------------- 00068 | 00069 | $Log: plpngdec.h,v $ 00070 | Revision 1.1 2004/05/21 21:02:53 maxx 00071 | Initial Version of vuVolume, moderatly changed to make it compile on my windows and linux machine. 00072 | 00073 | Revision 1.1 2002/11/13 01:58:22 mspindle 00074 | *** empty log message *** 00075 | 00076 | Revision 1.2 2001/10/21 17:12:40 uzadow 00077 | Added PSD decoder beta, removed BPPWanted from all decoders, added PLFilterPixel. 00078 | 00079 | Revision 1.1 2001/09/16 19:03:22 uzadow 00080 | Added global name prefix PL, changed most filenames. 00081 | 00082 | Revision 1.5 2000/12/18 22:42:52 uzadow 00083 | Replaced RGBAPIXEL with PLPixel32. 00084 | 00085 | Revision 1.4 2000/01/16 20:43:14 anonymous 00086 | Removed MFC dependencies 00087 | 00088 | Revision 1.3 1999/12/08 15:39:45 Ulrich von Zadow 00089 | Unix compatibility changes 00090 | 00091 | 00092 -------------------------------------------------------------------- 00093 */