| OLD | NEW |
| 1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
| 6 | 6 |
| 7 #ifndef _BC_QRCODEREADER_H_ | 7 #ifndef _BC_QRCODEREADER_H_ |
| 8 #define _BC_QRCODEREADER_H_ | 8 #define _BC_QRCODEREADER_H_ |
| 9 class CBC_QRDetector; | 9 class CBC_QRDetector; |
| 10 class CBC_BinaryBitmap; | 10 class CBC_BinaryBitmap; |
| 11 class CBC_QRCoderDecoder; | 11 class CBC_QRCoderDecoder; |
| 12 class CBC_ResultPoint; | 12 class CBC_ResultPoint; |
| 13 class CBC_ReedSolomonGF256; | 13 class CBC_ReedSolomonGF256; |
| 14 class CBC_QRCoderVersion; | 14 class CBC_QRCoderVersion; |
| 15 class CBC_QRDetector; | 15 class CBC_QRDetector; |
| 16 class CBC_QRDetectorResult; | 16 class CBC_QRDetectorResult; |
| 17 class CBC_QRCoderErrorCorrectionLevel; | 17 class CBC_QRCoderErrorCorrectionLevel; |
| 18 class CBC_QRCoderMode; | 18 class CBC_QRCoderMode; |
| 19 class CBC_QRDataMask; | 19 class CBC_QRDataMask; |
| 20 class CBC_QRCodeReader; | 20 class CBC_QRCodeReader; |
| 21 class CBC_QRCodeReader : public CBC_Reader | 21 class CBC_QRCodeReader : public CBC_Reader |
| 22 { | 22 { |
| 23 private: | 23 private: |
| 24 CBC_QRCoderDecoder *m_decoder; | 24 CBC_QRCoderDecoder *m_decoder; |
| 25 public: | 25 public: |
| 26 CBC_QRCodeReader(); | 26 CBC_QRCodeReader(); |
| 27 virtual ~CBC_QRCodeReader(); | 27 virtual ~CBC_QRCodeReader(); |
| 28 CFX_ByteString Decode(CFX_DIBitmap *pBitmap, FX_INT32 hints, FX_INT32 byteMo
deDecode, FX_INT32 &e); | 28 CFX_ByteString Decode(CFX_DIBitmap *pBitmap, int32_t hints, int32_t byteMode
Decode, int32_t &e); |
| 29 CFX_ByteString Decode(const CFX_WideString &filename, FX_INT32 hints, FX_INT
32 byteModeDecode, FX_INT32 &e); | 29 CFX_ByteString Decode(const CFX_WideString &filename, int32_t hints, int32_t
byteModeDecode, int32_t &e); |
| 30 static void ReleaseAll(); | 30 static void ReleaseAll(); |
| 31 CFX_ByteString Decode(CBC_BinaryBitmap *image, FX_INT32 hints, FX_INT32 &e); | 31 CFX_ByteString Decode(CBC_BinaryBitmap *image, int32_t hints, int32_t &e); |
| 32 CFX_ByteString Decode(CBC_BinaryBitmap *image, FX_INT32 &e); | 32 CFX_ByteString Decode(CBC_BinaryBitmap *image, int32_t &e); |
| 33 virtual void Init(); | 33 virtual void Init(); |
| 34 }; | 34 }; |
| 35 #endif | 35 #endif |
| OLD | NEW |