00001 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 00002 /* 00003 * This file is part of the libetonyek project. 00004 * 00005 * This Source Code Form is subject to the terms of the Mozilla Public 00006 * License, v. 2.0. If a copy of the MPL was not distributed with this 00007 * file, You can obtain one at http://mozilla.org/MPL/2.0/. 00008 */ 00009 00010 #ifndef PAG1PARSERSTATE_H_INCLUDED 00011 #define PAG1PARSERSTATE_H_INCLUDED 00012 00013 #include "IWORKXMLParserState.h" 00014 #include "PAGTypes.h" 00015 00016 namespace libetonyek 00017 { 00018 00019 class PAG1Parser; 00020 class PAGCollector; 00021 struct PAG1Dictionary; 00022 00023 class PAG1ParserState : public IWORKXMLParserState 00024 { 00025 // not copyable 00026 PAG1ParserState(const PAG1ParserState &); 00027 PAG1ParserState &operator=(const PAG1ParserState &); 00028 00029 public: 00030 PAG1ParserState(PAG1Parser &parser, PAGCollector &collector, PAG1Dictionary &dict); 00031 00032 PAGCollector &getCollector(); 00033 PAG1Dictionary &getDictionary(); 00034 00035 public: 00036 PAGFootnoteState m_footnoteState; 00037 00038 private: 00039 PAGCollector &m_collector; 00040 PAG1Dictionary &m_dict; 00041 }; 00042 00043 } 00044 00045 #endif // PAG1PARSERSTATE_H_INCLUDED 00046 00047 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */