QXPMacFileParser.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 QXPMACSTREAM_H_INCLUDED
11#define QXPMACSTREAM_H_INCLUDED
12
13#include <memory>
14#include <string>
15
16#include <librevenge-stream/librevenge-stream.h>
17
18 namespace libqxp
19{
20
21 class QXPMacFileParser
22{
23 public:
24 QXPMacFileParser(std::shared_ptr<librevenge::RVNGInputStream> &dataFork, std::string &type, std::string &creator);
25
26 bool parse(const std::shared_ptr<librevenge::RVNGInputStream> &input);
27
28 private:
29 std::shared_ptr<librevenge::RVNGInputStream> &m_dataFork;
30 std::string &m_type;
31 std::string &m_creator;
32};
33
34}
35
36#endif
37
38/* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libqxp::QXPMacFileParser::m_type
std::string & m_type
Definition QXPMacFileParser.h:30
libqxp::QXPMacFileParser::m_dataFork
std::shared_ptr< librevenge::RVNGInputStream > & m_dataFork
Definition QXPMacFileParser.h:29
libqxp::QXPMacFileParser::m_creator
std::string & m_creator
Definition QXPMacFileParser.h:31
libqxp::QXPMacFileParser::QXPMacFileParser
QXPMacFileParser(std::shared_ptr< librevenge::RVNGInputStream > &dataFork, std::string &type, std::string &creator)
Definition QXPMacFileParser.cpp:1233
libqxp::QXPMacFileParser::parse
bool parse(const std::shared_ptr< librevenge::RVNGInputStream > &input)
Definition QXPMacFileParser.cpp:1240
libqxp
Definition libqxp_utils.cpp:25