OLD | NEW |
| (Empty) |
1 // Copyright 2014 PDFium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | |
6 | |
7 #ifndef _BC_DECODERRESULT_H_ | |
8 #define _BC_DECODERRESULT_H_ | |
9 class CBC_DecoderResult; | |
10 class CBC_DecoderResult : public CFX_Object | |
11 { | |
12 public: | |
13 CBC_DecoderResult(CFX_ByteArray* rawBytes, CFX_ByteString text, CFX_ByteStr
ing ecLevel); | |
14 virtual ~CBC_DecoderResult(); | |
15 CFX_ByteArray* getRawBytes(); | |
16 CFX_ByteString getText(); | |
17 CFX_ByteString getECLevel(); | |
18 FX_INT32 getErrorsCorrected(); | |
19 void setErrorsCorrected(FX_INT32 errorsCorrected); | |
20 FX_INT32 getErasures(); | |
21 void setErasures(FX_INT32 erasures); | |
22 CFX_Object* getOther(); | |
23 void setOther(CFX_Object* other); | |
24 private: | |
25 CFX_ByteArray* m_rawBytes; | |
26 CFX_ByteString m_text; | |
27 CFX_ByteString m_ecLevel; | |
28 FX_INT32 m_errorsCorrected; | |
29 FX_INT32 m_erasures; | |
30 CFX_Object* m_other; | |
31 }; | |
32 #endif | |
OLD | NEW |