MobiPocketParser.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 MOBIPOCKETPARSER_H_INCLUDED
11#define MOBIPOCKETPARSER_H_INCLUDED
12
13#include "PDBParser.h"
14
15namespace libebook
16{
17
19{
20 // disable copying
23
24public:
25 explicit MobiPocketParser(librevenge::RVNGInputStream *input, librevenge::RVNGTextInterface *document = 0);
26 virtual ~MobiPocketParser();
27
28 static bool checkType(unsigned type, unsigned creator);
29
30private:
31 virtual void readAppInfoRecord(librevenge::RVNGInputStream *record);
32 virtual void readSortInfoRecord(librevenge::RVNGInputStream *record);
33 virtual void readIndexRecord(librevenge::RVNGInputStream *record);
34 virtual void readDataRecord(librevenge::RVNGInputStream *record, bool last = false);
35};
36
37}
38
39#endif // MOBIPOCKETPARSER_H_INCLUDED
40
41/* vim:set shiftwidth=2 softtabstop=2 expandtab: */
EBOOKDocument::Type type
Definition EBOOKDocument.cpp:325
XMLTreeNodePtr_t document
Definition EBOOKHTMLParser.cpp:163
Definition MobiPocketParser.h:19
virtual void readSortInfoRecord(librevenge::RVNGInputStream *record)
Definition MobiPocketParser.cpp:49
MobiPocketParser(const MobiPocketParser &other)
virtual ~MobiPocketParser()
Definition MobiPocketParser.cpp:35
virtual void readAppInfoRecord(librevenge::RVNGInputStream *record)
Definition MobiPocketParser.cpp:44
virtual void readIndexRecord(librevenge::RVNGInputStream *record)
Definition MobiPocketParser.cpp:54
virtual void readDataRecord(librevenge::RVNGInputStream *record, bool last=false)
Definition MobiPocketParser.cpp:60
static bool checkType(unsigned type, unsigned creator)
Definition MobiPocketParser.cpp:39
MobiPocketParser & operator=(const MobiPocketParser &other)
Definition PDBParser.h:26
Definition BBeBCollector.cpp:19

Generated for libe-book by doxygen 1.9.8