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