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