Opera 12.15 Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

decoderfactorybmp.h 761B

123456789101112131415161718192021222324252627
  1. /* -*- Mode: c++; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*-
  2. **
  3. ** Copyright (C) 1995-2003 Opera Software AS. All rights reserved.
  4. **
  5. ** This file is part of the Opera web browser. It may not be distributed
  6. ** under any circumstances.
  7. **
  8. */
  9. #ifndef DECODERFACTORYBMP_H
  10. #define DECODERFACTORYBMP_H
  11. #include "modules/img/imagedecoderfactory.h"
  12. class DecoderFactoryBmp : public ImageDecoderFactory
  13. {
  14. public:
  15. #if defined(INTERNAL_BMP_SUPPORT) || defined(ASYNC_IMAGE_DECODERS_EMULATION)
  16. ImageDecoder* CreateImageDecoder(ImageDecoderListener* listener);
  17. #endif // INTERNAL_BMP_SUPPORT
  18. BOOL3 CheckSize(const UCHAR* data, INT32 len, INT32& width, INT32& height);
  19. BOOL3 CheckType(const UCHAR* data, INT32 len);
  20. };
  21. #endif // !DECODERFACTORYBMP_H