SoftBookResourceDir.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 SOFTBOOKRESOURCEDIR_H_INCLUDED
11 #define SOFTBOOKRESOURCEDIR_H_INCLUDED
12 
13 namespace libebook
14 {
15 
16 class SoftBookHeader;
17 class SoftBookResourceDirImpl;
18 
22 {
23 public:
24  SoftBookResourceDir(librevenge::RVNGInputStream *input, const SoftBookHeader &header);
25 
33  std::shared_ptr<librevenge::RVNGInputStream> getNameStream() const;
34 
41  std::shared_ptr<librevenge::RVNGInputStream> getTypeStream() const;
42 
43 private:
44  std::shared_ptr<SoftBookResourceDirImpl> m_impl;
45 };
46 
47 }
48 
49 #endif // SOFTBOOKRESOURCEDIR_H_INCLUDED
50 
51 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
Definition: SoftBookHeader.h:18
Definition: EBOOKHTMLToken.h:89
std::shared_ptr< librevenge::RVNGInputStream > getTypeStream() const
Get OLE stream for this resource directory.
Definition: SoftBookResourceDir.cpp:216
SoftBookResourceDir(librevenge::RVNGInputStream *input, const SoftBookHeader &header)
Definition: SoftBookResourceDir.cpp:202
Definition: EBOOKHTMLToken.h:82
std::shared_ptr< SoftBookResourceDirImpl > m_impl
Definition: SoftBookResourceDir.h:44
Definition: BBeBCollector.cpp:18
std::shared_ptr< librevenge::RVNGInputStream > getNameStream() const
Get OLE stream for this resource directory.
Definition: SoftBookResourceDir.cpp:209
Read the resource tree and provide access to it as an OLE stream.
Definition: SoftBookResourceDir.h:21

Generated for libe-book by doxygen 1.8.14