IMPResourceDir.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 IMPRESOURCEDIR_H_INCLUDED
11 #define IMPRESOURCEDIR_H_INCLUDED
12
13 #include <boost/shared_ptr.hpp>
14
15
16 namespace libebook
17 {
18
19 class IMPHeader;
20 class IMPResourceDirImpl;
21
24 class IMPResourceDir
25 {
26 public:
27 IMPResourceDir(librevenge::RVNGInputStream *input, const IMPHeader &header);
28
36 boost::shared_ptr<librevenge::RVNGInputStream> getNameStream() const;
37
44 boost::shared_ptr<librevenge::RVNGInputStream> getTypeStream() const;
45
46 private:
47 boost::shared_ptr<IMPResourceDirImpl> m_impl;
48 };
49
50 }
51
52 #endif // IMPRESOURCEDIR_H_INCLUDED
53
54 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libebook::IMPResourceDir::getTypeStream
boost::shared_ptr< librevenge::RVNGInputStream > getTypeStream() const
Get OLE stream for this resource directory.
Definition: IMPResourceDir.cpp:216
libebook::IMPResourceDir::IMPResourceDir
IMPResourceDir(librevenge::RVNGInputStream *input, const IMPHeader &header)
Definition: IMPResourceDir.cpp:202
libebook::IMPHeader
Definition: IMPHeader.h:21
libebook::IMPResourceDir
Read the resource tree and provide access to it as an OLE stream.
Definition: IMPResourceDir.h:24
libebook::EBOOKHTMLToken::input
Definition: EBOOKHTMLToken.h:91
libebook::IMPResourceDir::getNameStream
boost::shared_ptr< librevenge::RVNGInputStream > getNameStream() const
Get OLE stream for this resource directory.
Definition: IMPResourceDir.cpp:209
libebook
Definition: CHMParser.cpp:20
libebook::EBOOKHTMLToken::header
Definition: EBOOKHTMLToken.h:84
libebook::IMPResourceDir::m_impl
boost::shared_ptr< IMPResourceDirImpl > m_impl
Definition: IMPResourceDir.h:47