| 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 _BC_DECODERRESULT_H_ | 7 #ifndef XFA_SRC_FXBARCODE_BC_DECODERRESULT_H_ |
| 8 #define _BC_DECODERRESULT_H_ | 8 #define XFA_SRC_FXBARCODE_BC_DECODERRESULT_H_ |
| 9 |
| 9 class CBC_DecoderResult; | 10 class CBC_DecoderResult; |
| 10 class CBC_DecoderResult { | 11 class CBC_DecoderResult { |
| 11 public: | 12 public: |
| 12 CBC_DecoderResult(CFX_ByteArray* rawBytes, | 13 CBC_DecoderResult(CFX_ByteArray* rawBytes, |
| 13 CFX_ByteString text, | 14 CFX_ByteString text, |
| 14 CFX_ByteString ecLevel); | 15 CFX_ByteString ecLevel); |
| 15 virtual ~CBC_DecoderResult(); | 16 virtual ~CBC_DecoderResult(); |
| 16 CFX_ByteArray* getRawBytes(); | 17 CFX_ByteArray* getRawBytes(); |
| 17 CFX_ByteString getText(); | 18 CFX_ByteString getText(); |
| 18 CFX_ByteString getECLevel(); | 19 CFX_ByteString getECLevel(); |
| 19 int32_t getErrorsCorrected(); | 20 int32_t getErrorsCorrected(); |
| 20 void setErrorsCorrected(int32_t errorsCorrected); | 21 void setErrorsCorrected(int32_t errorsCorrected); |
| 21 int32_t getErasures(); | 22 int32_t getErasures(); |
| 22 void setErasures(int32_t erasures); | 23 void setErasures(int32_t erasures); |
| 23 void* getOther(); | 24 void* getOther(); |
| 24 void setOther(void* other); | 25 void setOther(void* other); |
| 25 | 26 |
| 26 private: | 27 private: |
| 27 CFX_ByteArray* m_rawBytes; | 28 CFX_ByteArray* m_rawBytes; |
| 28 CFX_ByteString m_text; | 29 CFX_ByteString m_text; |
| 29 CFX_ByteString m_ecLevel; | 30 CFX_ByteString m_ecLevel; |
| 30 int32_t m_errorsCorrected; | 31 int32_t m_errorsCorrected; |
| 31 int32_t m_erasures; | 32 int32_t m_erasures; |
| 32 void* m_other; | 33 void* m_other; |
| 33 }; | 34 }; |
| 34 #endif | 35 |
| 36 #endif // XFA_SRC_FXBARCODE_BC_DECODERRESULT_H_ |
| OLD | NEW |