| 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 _JBIG2_SYMBOL_DICT_H_ | 7 #ifndef CORE_SRC_FXCODEC_JBIG2_JBIG2_SYMBOLDICT_H_ |
| 8 #define _JBIG2_SYMBOL_DICT_H_ | 8 #define CORE_SRC_FXCODEC_JBIG2_JBIG2_SYMBOLDICT_H_ |
| 9 | 9 |
| 10 #include "../../../../third_party/base/nonstd_unique_ptr.h" |
| 11 #include "../../../include/fxcrt/fx_basic.h" |
| 10 #include "JBig2_ArithDecoder.h" | 12 #include "JBig2_ArithDecoder.h" |
| 11 #include "JBig2_Define.h" | 13 |
| 12 #include "JBig2_Image.h" | 14 class CJBig2_Image; |
| 13 | 15 |
| 14 class CJBig2_SymbolDict { | 16 class CJBig2_SymbolDict { |
| 15 public: | 17 public: |
| 16 CJBig2_SymbolDict(); | 18 CJBig2_SymbolDict(); |
| 17 CJBig2_SymbolDict* DeepCopy(); | |
| 18 ~CJBig2_SymbolDict(); | 19 ~CJBig2_SymbolDict(); |
| 19 | 20 |
| 21 nonstd::unique_ptr<CJBig2_SymbolDict> DeepCopy() const; |
| 22 |
| 20 public: | 23 public: |
| 21 FX_DWORD SDNUMEXSYMS; | 24 FX_DWORD SDNUMEXSYMS; |
| 22 CJBig2_Image** SDEXSYMS; | 25 CJBig2_Image** SDEXSYMS; |
| 23 FX_BOOL m_bContextRetained; | 26 FX_BOOL m_bContextRetained; |
| 24 JBig2ArithCtx* m_gbContext; | 27 JBig2ArithCtx* m_gbContext; |
| 25 JBig2ArithCtx* m_grContext; | 28 JBig2ArithCtx* m_grContext; |
| 26 }; | 29 }; |
| 27 | 30 |
| 28 #endif | 31 #endif // CORE_SRC_FXCODEC_JBIG2_JBIG2_SYMBOLDICT_H_ |
| OLD | NEW |