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