QXP3HeaderBase.h Source File documentation

QXP3HeaderBase.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 libqxp 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 QXP3HEADERBASE_H_INCLUDED
11#define QXP3HEADERBASE_H_INCLUDED
12
13#include <string>
14
15#include "QXPHeader.h"
16
17namespace libqxp
18{
19
20 class QXP3HeaderBase : public QXPHeader
21{
22public:
23 explicit QXP3HeaderBase(const boost::optional<QXPDocument::Type> &fileType = boost::none);
24
25 bool load(const std::shared_ptr<librevenge::RVNGInputStream> &input) override;
26
27protected:
28 std::string m_signature;
29};
30
31}
32
33#endif // QXP3HEADERBASE_H_INCLUDED
34
35/* vim:set shiftwidth=2 softtabstop=2 expandtab: */
QXPHeader.h
libqxp::QXP3HeaderBase::load
bool load(const std::shared_ptr< librevenge::RVNGInputStream > &input) override
Definition QXP3HeaderBase.cpp:23
libqxp::QXP3HeaderBase::m_signature
std::string m_signature
Definition QXP3HeaderBase.h:28
libqxp::QXP3HeaderBase::QXP3HeaderBase
QXP3HeaderBase(const boost::optional< QXPDocument::Type > &fileType=boost::none)
Definition QXP3HeaderBase.cpp:17
libqxp::QXPHeader::QXPHeader
QXPHeader(const boost::optional< QXPDocument::Type > &fileType=boost::none)
Definition QXPHeader.cpp:17
libqxp
Definition libqxp_utils.cpp:25