| 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_CORE_CFX_BARCODE_H_ |
| 8 #define XFA_FWL_BASEWIDGET_CFX_BARCODE_H_ | 8 #define XFA_FWL_CORE_CFX_BARCODE_H_ |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 | 11 |
| 12 #include "core/fxcrt/fx_coordinates.h" | 12 #include "core/fxcrt/fx_coordinates.h" |
| 13 #include "core/fxcrt/fx_string.h" | 13 #include "core/fxcrt/fx_string.h" |
| 14 #include "core/fxcrt/fx_system.h" | 14 #include "core/fxcrt/fx_system.h" |
| 15 #include "core/fxge/fx_dib.h" | 15 #include "core/fxge/fx_dib.h" |
| 16 #include "xfa/fxbarcode/BC_Library.h" | 16 #include "xfa/fxbarcode/BC_Library.h" |
| 17 | 17 |
| 18 class CBC_CodeBase; | 18 class CBC_CodeBase; |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 FX_BOOL SetStartChar(FX_CHAR start); | 50 FX_BOOL SetStartChar(FX_CHAR start); |
| 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_CORE_CFX_BARCODE_H_ |
| OLD | NEW |