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_ENCODERCONTEXT_H_ | 7 #ifndef XFA_SRC_FXBARCODE_DATAMATRIX_BC_ENCODERCONTEXT_H_ |
8 #define _BC_ENCODERCONTEXT_H_ | 8 #define XFA_SRC_FXBARCODE_DATAMATRIX_BC_ENCODERCONTEXT_H_ |
| 9 |
9 class CBC_SymbolShapeHint; | 10 class CBC_SymbolShapeHint; |
10 class CBC_SymbolInfo; | 11 class CBC_SymbolInfo; |
11 class CBC_Dimension; | 12 class CBC_Dimension; |
12 class CBC_EncoderContext; | 13 class CBC_EncoderContext; |
13 class CBC_EncoderContext : public CBC_SymbolShapeHint { | 14 class CBC_EncoderContext : public CBC_SymbolShapeHint { |
14 public: | 15 public: |
15 CBC_EncoderContext(const CFX_WideString msg, | 16 CBC_EncoderContext(const CFX_WideString msg, |
16 CFX_WideString ecLevel, | 17 CFX_WideString ecLevel, |
17 int32_t& e); | 18 int32_t& e); |
18 virtual ~CBC_EncoderContext(); | 19 virtual ~CBC_EncoderContext(); |
(...skipping 23 matching lines...) Expand all Loading... |
42 | 43 |
43 private: | 44 private: |
44 int32_t getTotalMessageCharCount(); | 45 int32_t getTotalMessageCharCount(); |
45 | 46 |
46 private: | 47 private: |
47 SymbolShapeHint m_shape; | 48 SymbolShapeHint m_shape; |
48 CBC_Dimension* m_minSize; | 49 CBC_Dimension* m_minSize; |
49 CBC_Dimension* m_maxSize; | 50 CBC_Dimension* m_maxSize; |
50 int32_t m_skipAtEnd; | 51 int32_t m_skipAtEnd; |
51 }; | 52 }; |
52 #endif | 53 |
| 54 #endif // XFA_SRC_FXBARCODE_DATAMATRIX_BC_ENCODERCONTEXT_H_ |
OLD | NEW |