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: */
const RVNGInputStreamPtr_t m_input
Definition: CHMParser.h:32
Definition: EBOOKHTMLToken.h:91
boost::shared_ptr< librevenge::RVNGInputStream > RVNGInputStreamPtr_t
Definition: libebook_utils.h:82
Definition: CHMParser.h:20
CHMParser & operator=(const CHMParser &other)
librevenge::RVNGTextInterface * m_document
Definition: CHMParser.h:33
CHMParser(const CHMParser &other)
XMLTreeNodePtr_t document
Definition: EBOOKHTMLParser.cpp:169
void parse()
Definition: CHMParser.cpp:87
Definition: CHMParser.cpp:20

Generated for libe-book by doxygen 1.8.8