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