IMPResourceDir.h
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* libe-book
3  * Version: MPL 2.0 / LGPLv2.1+
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  * Alternatively, the contents of this file may be used under the terms
10  * of the GNU Lesser General Public License Version 2.1 or later
11  * (LGPLv2.1+), in which case the provisions of the LGPLv2.1+ are
12  * applicable instead of those above.
13  *
14  * For further information visit http://libebook.sourceforge.net
15  */
16 
17 #ifndef IMPRESOURCEDIR_H_INCLUDED
18 #define IMPRESOURCEDIR_H_INCLUDED
19 
20 #include <boost/shared_ptr.hpp>
21 
22 class WPXInputStream;
23 
24 namespace libebook
25 {
26 
27 class IMPHeader;
28 class IMPResourceDirImpl;
29 
33 {
34 public:
35  IMPResourceDir(WPXInputStream *input, const IMPHeader &header);
36 
44  boost::shared_ptr<WPXInputStream> getNameStream() const;
45 
52  boost::shared_ptr<WPXInputStream> getTypeStream() const;
53 
54 private:
55  boost::shared_ptr<IMPResourceDirImpl> m_impl;
56 };
57 
58 }
59 
60 #endif // IMPRESOURCEDIR_H_INCLUDED
61 
62 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
Definition: IMPHeader.h:29
boost::shared_ptr< WPXInputStream > getNameStream() const
Get OLE stream for this resource directory.
Definition: IMPResourceDir.cpp:181
Read the resource tree and provide access to it as an OLE stream.
Definition: IMPResourceDir.h:32
boost::shared_ptr< WPXInputStream > getTypeStream() const
Get OLE stream for this resource directory.
Definition: IMPResourceDir.cpp:188
IMPResourceDir(WPXInputStream *input, const IMPHeader &header)
Definition: IMPResourceDir.cpp:174
boost::shared_ptr< IMPResourceDirImpl > m_impl
Definition: IMPResourceDir.h:55

Generated for libe-book by doxygen 1.8.5