Debian Codegraph @

src/lib/QXPMacFileParser.h

raw
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: */