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