home *** CD-ROM | disk | FTP | other *** search
/ Compressed Image File Formats / CompressedImageFileFormatsJohnMiano.iso / pc / Library / include / bmpencod.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-12-17  |  1000 b   |  42 lines

  1. #ifndef __BMBENCOD_H
  2. #define __BMPENCOD_H
  3.  
  4. //
  5. // Copyright (c) 1997,1998 Colosseum Builders, Inc.
  6. // All rights reserved.
  7. //
  8. // Colosseum Builders, Inc. makes no warranty, expressed or implied
  9. // with regards to this software. It is provided as is.
  10. //
  11. // See the README.TXT file that came with this software for restrictions
  12. // on the use and redistribution of this file or send E-mail to
  13. // info@colosseumbuilders.com
  14. //
  15.  
  16. //
  17. //  Title:  Windows Bitmap Encoder Class
  18. //
  19. //  Author:  John M. Miano  miano@colosseumbuilders.com
  20. //
  21.  
  22. #include <iostream>
  23.  
  24. #include "bitimage.h"
  25. #include "bmp.h"
  26.  
  27. class BmpEncoder : public BitmapImageEncoder
  28. {
  29. public:
  30.   BmpEncoder () ;
  31.   BmpEncoder (const BmpEncoder &) ;
  32.   virtual ~BmpEncoder () ;
  33.   BmpEncoder &operator=(const BmpEncoder &) ;
  34.   virtual void WriteImage (std::ostream &, BitmapImage &) ;
  35. private:
  36.   void Initialize () ;
  37.   void DoCopy (const BmpEncoder &) ;
  38.   void CallProgressFunction (unsigned int) ;
  39. } ;
  40.  
  41. #endif
  42.