| 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_CORE_CFX_BARCODE_H_ | 7 #ifndef XFA_FWL_CFX_BARCODE_H_ |
| 8 #define XFA_FWL_CORE_CFX_BARCODE_H_ | 8 #define XFA_FWL_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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 bool SetStartChar(FX_CHAR start); | 55 bool SetStartChar(FX_CHAR start); |
| 56 bool SetEndChar(FX_CHAR end); | 56 bool SetEndChar(FX_CHAR end); |
| 57 bool SetVersion(int32_t version); | 57 bool SetVersion(int32_t version); |
| 58 bool SetErrorCorrectionLevel(int32_t level); | 58 bool SetErrorCorrectionLevel(int32_t level); |
| 59 bool SetTruncated(bool truncated); | 59 bool SetTruncated(bool truncated); |
| 60 | 60 |
| 61 private: | 61 private: |
| 62 std::unique_ptr<CBC_CodeBase> m_pBCEngine; | 62 std::unique_ptr<CBC_CodeBase> m_pBCEngine; |
| 63 }; | 63 }; |
| 64 | 64 |
| 65 #endif // XFA_FWL_CORE_CFX_BARCODE_H_ | 65 #endif // XFA_FWL_CFX_BARCODE_H_ |
| OLD | NEW |