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_SRC_FXBARCODE_BC_DECODERRESULT_H_ | |
8 #define XFA_SRC_FXBARCODE_BC_DECODERRESULT_H_ | |
9 | |
10 #include "core/include/fxcrt/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 CFX_ByteArray* getRawBytes(); | |
19 CFX_ByteString getText(); | |
20 CFX_ByteString getECLevel(); | |
21 int32_t getErrorsCorrected(); | |
22 void setErrorsCorrected(int32_t errorsCorrected); | |
23 int32_t getErasures(); | |
24 void setErasures(int32_t erasures); | |
25 void* getOther(); | |
26 void setOther(void* other); | |
27 | |
28 private: | |
29 CFX_ByteArray* m_rawBytes; | |
30 CFX_ByteString m_text; | |
31 CFX_ByteString m_ecLevel; | |
32 int32_t m_errorsCorrected; | |
33 int32_t m_erasures; | |
34 void* m_other; | |
35 }; | |
36 | |
37 #endif // XFA_SRC_FXBARCODE_BC_DECODERRESULT_H_ | |
OLD | NEW |