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 XFA_FXBARCODE_QRCODE_BC_FINDERPATTERNINFO_H_ | 7 #ifndef XFA_FXBARCODE_QRCODE_BC_FINDERPATTERNINFO_H_ |
8 #define XFA_FXBARCODE_QRCODE_BC_FINDERPATTERNINFO_H_ | 8 #define XFA_FXBARCODE_QRCODE_BC_FINDERPATTERNINFO_H_ |
9 | 9 |
10 #include "core/fxcrt/include/fx_basic.h" | 10 #include "core/fxcrt/include/fx_basic.h" |
11 | 11 |
12 class CBC_QRFinderPattern; | 12 class CBC_QRFinderPattern; |
13 | 13 |
14 class CBC_QRFinderPatternInfo { | 14 class CBC_QRFinderPatternInfo { |
| 15 public: |
| 16 explicit CBC_QRFinderPatternInfo( |
| 17 CFX_ArrayTemplate<CBC_QRFinderPattern*>* patternCenters); |
| 18 ~CBC_QRFinderPatternInfo(); |
| 19 |
| 20 CBC_QRFinderPattern* GetBottomLeft() const; |
| 21 CBC_QRFinderPattern* GetTopLeft() const; |
| 22 CBC_QRFinderPattern* GetTopRight() const; |
| 23 |
15 private: | 24 private: |
16 CBC_QRFinderPattern* m_bottomLeft; | 25 CBC_QRFinderPattern* m_bottomLeft; |
17 CBC_QRFinderPattern* m_topLeft; | 26 CBC_QRFinderPattern* m_topLeft; |
18 CBC_QRFinderPattern* m_topRight; | 27 CBC_QRFinderPattern* m_topRight; |
19 | |
20 public: | |
21 CBC_QRFinderPatternInfo(CFX_PtrArray* patternCenters); | |
22 virtual ~CBC_QRFinderPatternInfo(); | |
23 CBC_QRFinderPattern* GetBottomLeft(); | |
24 CBC_QRFinderPattern* GetTopLeft(); | |
25 CBC_QRFinderPattern* GetTopRight(); | |
26 }; | 28 }; |
27 | 29 |
28 #endif // XFA_FXBARCODE_QRCODE_BC_FINDERPATTERNINFO_H_ | 30 #endif // XFA_FXBARCODE_QRCODE_BC_FINDERPATTERNINFO_H_ |
OLD | NEW |