// Copyright 2016 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #ifndef CORE_FXCODEC_JBIG2_DOCUMENTCONTEXT_H_ #define CORE_FXCODEC_JBIG2_DOCUMENTCONTEXT_H_ #include #include #include class CJBig2_SymbolDict; using CJBig2_CacheKey = std::pair; using CJBig2_CachePair = std::pair>; // Holds per-document JBig2 related data. class JBig2_DocumentContext { public: JBig2_DocumentContext(); ~JBig2_DocumentContext(); std::list* GetSymbolDictCache() { return &m_SymbolDictCache; } private: std::list m_SymbolDictCache; }; #endif // CORE_FXCODEC_JBIG2_DOCUMENTCONTEXT_H_