| 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_SRC_FXBARCODE_COMMON_BC_COMMONDECODERRESULT_H_ | 7 #ifndef XFA_SRC_FXBARCODE_COMMON_BC_COMMONDECODERRESULT_H_ |
| 8 #define XFA_SRC_FXBARCODE_COMMON_BC_COMMONDECODERRESULT_H_ | 8 #define XFA_SRC_FXBARCODE_COMMON_BC_COMMONDECODERRESULT_H_ |
| 9 | 9 |
| 10 #include "core/include/fxcrt/fx_basic.h" |
| 11 |
| 10 class CBC_QRCoderErrorCorrectionLevel; | 12 class CBC_QRCoderErrorCorrectionLevel; |
| 11 class CBC_PDF417ResultMetadata; | 13 class CBC_PDF417ResultMetadata; |
| 14 |
| 12 class CBC_CommonDecoderResult { | 15 class CBC_CommonDecoderResult { |
| 13 public: | 16 public: |
| 14 CBC_CommonDecoderResult(); | 17 CBC_CommonDecoderResult(); |
| 15 virtual ~CBC_CommonDecoderResult(); | 18 virtual ~CBC_CommonDecoderResult(); |
| 16 const CFX_ByteArray& GetRawBytes(); | 19 const CFX_ByteArray& GetRawBytes(); |
| 17 const CFX_ByteString& GetText(); | 20 const CFX_ByteString& GetText(); |
| 18 const CFX_Int32Array& GetByteSegments(); | 21 const CFX_Int32Array& GetByteSegments(); |
| 19 CBC_QRCoderErrorCorrectionLevel* GetECLevel(); | 22 CBC_QRCoderErrorCorrectionLevel* GetECLevel(); |
| 20 virtual void Init(const CFX_ByteArray& rawBytes, | 23 virtual void Init(const CFX_ByteArray& rawBytes, |
| 21 const CFX_ByteString& text, | 24 const CFX_ByteString& text, |
| (...skipping 11 matching lines...) Expand all Loading... |
| 33 CFX_ByteArray m_rawBytes; | 36 CFX_ByteArray m_rawBytes; |
| 34 CFX_ByteString m_text; | 37 CFX_ByteString m_text; |
| 35 CFX_Int32Array m_byteSegments; | 38 CFX_Int32Array m_byteSegments; |
| 36 CFX_PtrArray m_pdf417byteSegments; | 39 CFX_PtrArray m_pdf417byteSegments; |
| 37 CBC_QRCoderErrorCorrectionLevel* m_ecLevel; | 40 CBC_QRCoderErrorCorrectionLevel* m_ecLevel; |
| 38 CFX_ByteString m_pdf417ecLevel; | 41 CFX_ByteString m_pdf417ecLevel; |
| 39 CBC_PDF417ResultMetadata* m_other; | 42 CBC_PDF417ResultMetadata* m_other; |
| 40 }; | 43 }; |
| 41 | 44 |
| 42 #endif // XFA_SRC_FXBARCODE_COMMON_BC_COMMONDECODERRESULT_H_ | 45 #endif // XFA_SRC_FXBARCODE_COMMON_BC_COMMONDECODERRESULT_H_ |
| OLD | NEW |