CHMParser.h
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /*
3  * This file is part of the libe-book project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  */
9 
10 #ifndef CHMPARSER_H_INCLUDED
11 #define CHMPARSER_H_INCLUDED
12 
13 #include <libe-book/libe-book.h>
14 
15 #include "libebook_utils.h"
16 
17 namespace libebook
18 {
19 
20 class CHMParser
21 {
22  // disable copying
23  CHMParser(const CHMParser &other);
24  CHMParser &operator=(const CHMParser &other);
25 
26 public:
27  explicit CHMParser(const RVNGInputStreamPtr_t &input, librevenge::RVNGTextInterface *document = 0);
28 
29  void parse();
30 
31 private:
33  librevenge::RVNGTextInterface *m_document;
34 };
35 
36 }
37 
38 #endif // CHMPARSER_H_INCLUDED
39 
40 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
EBOOKHTMLParser.h
libebook::CHMParser
Definition: CHMParser.h:21
libebook::CHMParser::CHMParser
CHMParser(const CHMParser &other)
libebook::EBOOKHTMLParser
Definition: EBOOKHTMLParser.h:32
path
string path
Definition: EBOOKOPFParser.cpp:49
libebook::RVNGInputStreamPtr_t
boost::shared_ptr< librevenge::RVNGInputStream > RVNGInputStreamPtr_t
Definition: libebook_utils.h:82
libebook::EBOOKHTMLToken::get
@ get
Definition: EBOOKHTMLToken.h:285
libebook
Definition: CHMParser.cpp:21
libebook::CHMParser::parse
void parse()
Definition: CHMParser.cpp:87
libebook_utils.h
CHMStream.h
stream
RVNGInputStreamPtr_t stream
Definition: CHMStream.cpp:79
m_document
librevenge::RVNGTextInterface *const m_document
Definition: FB2Parser.cpp:56
document
XMLTreeNodePtr_t document
Definition: EBOOKHTMLParser.cpp:169
libebook::EBOOKHTMLToken::input
@ input
Definition: EBOOKHTMLToken.h:91
CHMParser.h
libebook::CHMParser::m_document
librevenge::RVNGTextInterface * m_document
Definition: CHMParser.h:33
libebook::EBOOKOPFToken::package
@ package
Definition: EBOOKOPFToken.h:65
m_package
const RVNGInputStreamPtr_t m_package
Definition: CHMParser.cpp:40
libebook::CHMParser::operator=
CHMParser & operator=(const CHMParser &other)
m_input
librevenge::RVNGInputStream * m_input
Definition: PLKRParser.cpp:911
libebook::CHMParser::m_input
const RVNGInputStreamPtr_t m_input
Definition: CHMParser.h:32

Generated for libe-book by doxygen 1.8.18