Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

plpicenc.h

Go to the documentation of this file.
00001 /*
00002 /--------------------------------------------------------------------
00003 |
00004 |      $Id: plpicenc.h,v 1.1 2004/05/21 21:02:53 maxx Exp $
00005 |
00006 |      Copyright (c) 1996-2002 Ulrich von Zadow
00007 |
00008 \--------------------------------------------------------------------
00009 */
00010 // not quite ready for prime-time; bdelmee; 2/99
00011 
00012 #ifndef INCL_PLPICENC
00013 #define INCL_PLPICENC
00014 
00015 #ifndef INCL_PLBITMAP
00016 #include "plbitmap.h"
00017 #endif
00018 
00019 #ifndef INCL_PLDATASNK
00020 #include "pldatasink.h"
00021 #endif
00022 
00023 // the details of the bitmap class are not needed here
00024 class PLBmp;
00025 
00030 class PLPicEncoder : public PLObject
00031 {
00032 
00033 
00034 public:
00037   PLPicEncoder
00038     ();
00039 
00041   virtual ~PLPicEncoder
00042     ();
00043 
00045   virtual void MakeFileFromBmp(
00046     const char *,
00047     PLBmp*
00048     );
00049 
00051   virtual void SaveBmp( PLBmp*, PLDataSink* );
00052 
00053   void SetTraceConfig( int Level, char * pszFName );
00054 
00055   // This function is needed by callbacks outside of any object,
00056   // so it's public and static. It should not be called from
00057   // outside of the library. - 3.6.99 MS
00058   static void raiseError( int Code, char * pszErr );
00059 
00060   void Trace( int TraceLevel, const char * pszMessage );
00061 
00062 protected:
00066   virtual void DoEncode
00067     ( PLBmp* pBmp,
00068       PLDataSink* pDataSrc
00069       ) = 0;
00070 };
00071 #endif
00072 /*
00073 /--------------------------------------------------------------------
00074 |
00075 |      $Log: plpicenc.h,v $
00076 |      Revision 1.1  2004/05/21 21:02:53  maxx
00077 |      Initial Version of vuVolume, moderatly changed to make it compile on my windows and linux machine.
00078 |
00079 |      Revision 1.1  2002/11/13 01:58:21  mspindle
00080 |      *** empty log message ***
00081 |
00082 |      Revision 1.3  2002/02/24 13:00:26  uzadow
00083 |      Documentation update; removed buggy PLFilterRotate.
00084 |
00085 |      Revision 1.2  2001/10/06 20:44:45  uzadow
00086 |      Linux compatibility
00087 |
00088 |      Revision 1.1  2001/09/16 19:03:22  uzadow
00089 |      Added global name prefix PL, changed most filenames.
00090 |
00091 |      Revision 1.7  2000/01/16 20:43:14  anonymous
00092 |      Removed MFC dependencies
00093 |
00094 |      Revision 1.6  2000/01/08 15:51:30  Ulrich von Zadow
00095 |      Misc. modifications to png encoder.
00096 |
00097 |      Revision 1.5  1999/11/27 18:45:48  Ulrich von Zadow
00098 |      Added/Updated doc comments.
00099 |
00100 |      Revision 1.4  1999/10/19 21:28:05  Ulrich von Zadow
00101 |      Added jpeg encoder
00102 |
00103 |      Revision 1.3  1999/10/03 18:50:50  Ulrich von Zadow
00104 |      Added automatic logging of changes.
00105 |
00106 |
00107 \--------------------------------------------------------------------
00108 */

Generated on Wed Dec 15 21:20:30 2004 for vuVolume by  doxygen 1.3.9.1