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_FWL_BASEWIDGET_FXMATH_BARCODEIMP_H_ | 7 #ifndef XFA_FWL_BASEWIDGET_FXMATH_BARCODEIMP_H_ |
8 #define XFA_FWL_BASEWIDGET_FXMATH_BARCODEIMP_H_ | 8 #define XFA_FWL_BASEWIDGET_FXMATH_BARCODEIMP_H_ |
9 | 9 |
10 #include "core/fxcrt/include/fx_string.h" | 10 #include "core/fxcrt/include/fx_string.h" |
11 #include "core/fxcrt/include/fx_system.h" | 11 #include "core/fxcrt/include/fx_system.h" |
| 12 #include "xfa/fwl/basewidget/ifx_barcode.h" |
12 #include "xfa/fxbarcode/include/BC_Library.h" | 13 #include "xfa/fxbarcode/include/BC_Library.h" |
13 #include "xfa/include/fwl/basewidget/fxmath_barcode.h" | |
14 | 14 |
15 class CBC_CodeBase; | 15 class CBC_CodeBase; |
16 | 16 |
17 class CFX_Barcode : public IFX_Barcode { | 17 class CFX_Barcode : public IFX_Barcode { |
18 public: | 18 public: |
19 CFX_Barcode(); | 19 CFX_Barcode(); |
20 ~CFX_Barcode(); | 20 ~CFX_Barcode(); |
21 | 21 |
22 FX_BOOL Create(BC_TYPE type); | 22 FX_BOOL Create(BC_TYPE type); |
23 virtual void Release(); | 23 virtual void Release(); |
(...skipping 29 matching lines...) Expand all Loading... |
53 virtual FX_BOOL SetEndChar(FX_CHAR end); | 53 virtual FX_BOOL SetEndChar(FX_CHAR end); |
54 virtual FX_BOOL SetVersion(int32_t version); | 54 virtual FX_BOOL SetVersion(int32_t version); |
55 virtual FX_BOOL SetErrorCorrectionLevel(int32_t level); | 55 virtual FX_BOOL SetErrorCorrectionLevel(int32_t level); |
56 virtual FX_BOOL SetTruncated(FX_BOOL truncated); | 56 virtual FX_BOOL SetTruncated(FX_BOOL truncated); |
57 | 57 |
58 protected: | 58 protected: |
59 CBC_CodeBase* m_pBCEngine; | 59 CBC_CodeBase* m_pBCEngine; |
60 }; | 60 }; |
61 | 61 |
62 #endif // XFA_FWL_BASEWIDGET_FXMATH_BARCODEIMP_H_ | 62 #endif // XFA_FWL_BASEWIDGET_FXMATH_BARCODEIMP_H_ |
OLD | NEW |