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_CFX_BARCODE_H_ | 7 #ifndef XFA_FWL_BASEWIDGET_CFX_BARCODE_H_ |
8 #define XFA_FWL_BASEWIDGET_CFX_BARCODE_H_ | 8 #define XFA_FWL_BASEWIDGET_CFX_BARCODE_H_ |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 | 11 |
12 #include "core/fxcrt/include/fx_coordinates.h" | 12 #include "core/fxcrt/fx_coordinates.h" |
13 #include "core/fxcrt/include/fx_string.h" | 13 #include "core/fxcrt/fx_string.h" |
14 #include "core/fxcrt/include/fx_system.h" | 14 #include "core/fxcrt/fx_system.h" |
15 #include "core/fxge/include/fx_dib.h" | 15 #include "core/fxge/include/fx_dib.h" |
16 #include "xfa/fxbarcode/include/BC_Library.h" | 16 #include "xfa/fxbarcode/include/BC_Library.h" |
17 | 17 |
18 class CBC_CodeBase; | 18 class CBC_CodeBase; |
19 class CFX_Font; | 19 class CFX_Font; |
20 class CFX_RenderDevice; | 20 class CFX_RenderDevice; |
21 class CFX_Matrix; | 21 class CFX_Matrix; |
22 | 22 |
23 class CFX_Barcode { | 23 class CFX_Barcode { |
24 public: | 24 public: |
(...skipping 26 matching lines...) Expand all Loading... |
51 FX_BOOL SetEndChar(FX_CHAR end); | 51 FX_BOOL SetEndChar(FX_CHAR end); |
52 FX_BOOL SetVersion(int32_t version); | 52 FX_BOOL SetVersion(int32_t version); |
53 FX_BOOL SetErrorCorrectionLevel(int32_t level); | 53 FX_BOOL SetErrorCorrectionLevel(int32_t level); |
54 FX_BOOL SetTruncated(FX_BOOL truncated); | 54 FX_BOOL SetTruncated(FX_BOOL truncated); |
55 | 55 |
56 protected: | 56 protected: |
57 std::unique_ptr<CBC_CodeBase> m_pBCEngine; | 57 std::unique_ptr<CBC_CodeBase> m_pBCEngine; |
58 }; | 58 }; |
59 | 59 |
60 #endif // XFA_FWL_BASEWIDGET_CFX_BARCODE_H_ | 60 #endif // XFA_FWL_BASEWIDGET_CFX_BARCODE_H_ |
OLD | NEW |