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 
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: */
Definition: EBOOKHTMLToken.h:91
IMPResourceDir(librevenge::RVNGInputStream *input, const IMPHeader &header)
Definition: IMPResourceDir.cpp:202
Definition: IMPHeader.h:21
boost::shared_ptr< librevenge::RVNGInputStream > getNameStream() const
Get OLE stream for this resource directory.
Definition: IMPResourceDir.cpp:209
Read the resource tree and provide access to it as an OLE stream.
Definition: IMPResourceDir.h:24
boost::shared_ptr< librevenge::RVNGInputStream > getTypeStream() const
Get OLE stream for this resource directory.
Definition: IMPResourceDir.cpp:216
Definition: EBOOKHTMLToken.h:84
Definition: CHMParser.cpp:20
boost::shared_ptr< IMPResourceDirImpl > m_impl
Definition: IMPResourceDir.h:47

Generated for libe-book by doxygen 1.8.8