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
21 class SoftBookResourceDir
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: */
libebook::SoftBookHeader
Definition SoftBookHeader.h:19
libebook::SoftBookResourceDir
Read the resource tree and provide access to it as an OLE stream.
Definition SoftBookResourceDir.h:22
libebook::SoftBookResourceDir::m_impl
std::shared_ptr< SoftBookResourceDirImpl > m_impl
Definition SoftBookResourceDir.h:44
libebook::SoftBookResourceDir::getTypeStream
std::shared_ptr< librevenge::RVNGInputStream > getTypeStream() const
Get OLE stream for this resource directory.
Definition SoftBookResourceDir.cpp:216
libebook::SoftBookResourceDir::getNameStream
std::shared_ptr< librevenge::RVNGInputStream > getNameStream() const
Get OLE stream for this resource directory.
Definition SoftBookResourceDir.cpp:209
libebook::SoftBookResourceDir::SoftBookResourceDir
SoftBookResourceDir(librevenge::RVNGInputStream *input, const SoftBookHeader &header)
Definition SoftBookResourceDir.cpp:202
libebook
Definition BBeBCollector.cpp:19