LITParser.h Source File documentation

LITParser.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 LITPARSER_H_INCLUDED
11 #define LITPARSER_H_INCLUDED
12
13 #include <libe-book/libe-book.h>
14
15 #include "libebook_utils.h"
16
17 namespace libebook
18 {
19
20 class LITParser
21 {
22 // disable copying
23 LITParser(const LITParser &other);
24 LITParser &operator=(const LITParser &other);
25
26 public:
27 explicit LITParser(const RVNGInputStreamPtr_t &input, librevenge::RVNGTextInterface *document = 0);
28
29 void parse();
30
31 private:
32 const RVNGInputStreamPtr_t m_input;
33 librevenge::RVNGTextInterface *m_document;
34 };
35
36 }
37
38 #endif // LITPARSER_H_INCLUDED
39
40 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libebook::LITParser
Definition: LITParser.h:20
libebook::RVNGInputStreamPtr_t
boost::shared_ptr< librevenge::RVNGInputStream > RVNGInputStreamPtr_t
Definition: libebook_utils.h:82
libebook_utils.h
libebook::LITParser::parse
void parse()
Definition: LITParser.cpp:87
libebook::LITParser::m_document
librevenge::RVNGTextInterface * m_document
Definition: LITParser.h:33
document
XMLTreeNodePtr_t document
Definition: EBOOKHTMLParser.cpp:169
libebook::LITParser::m_input
const RVNGInputStreamPtr_t m_input
Definition: LITParser.h:32
libebook::EBOOKHTMLToken::input
Definition: EBOOKHTMLToken.h:91
libebook
Definition: CHMParser.cpp:20
libebook::LITParser::LITParser
LITParser(const LITParser &other)
libebook::LITParser::operator=
LITParser & operator=(const LITParser &other)