ZMF2Parser.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 a part of the libzmf 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 ZMF2PARSER_H_INCLUDED
11#define ZMF2PARSER_H_INCLUDED
12
13#include <librevenge/librevenge.h>
14
15#include "libzmf_utils.h"
16
17 namespace libzmf
18{
19
20 class ZMF2Parser
21{
22 // disable copying
23 ZMF2Parser(const ZMF2Parser &other) = delete;
24 ZMF2Parser &operator=(const ZMF2Parser &other) = delete;
25
26 public:
27 ZMF2Parser(const RVNGInputStreamPtr &input, librevenge::RVNGDrawingInterface *painter);
28 bool parse();
29
30 protected:
31 const RVNGInputStreamPtr m_input;
32 librevenge::RVNGDrawingInterface *m_painter;
33};
34
35}
36
37#endif // ZMF2PARSER_H_INCLUDED
38
39/* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libzmf::ZMF2Parser
Definition: ZMF2Parser.h:21
libzmf::ZMF2Parser::ZMF2Parser
ZMF2Parser(const ZMF2Parser &other)=delete
libzmf::ZMF2Parser::operator=
ZMF2Parser & operator=(const ZMF2Parser &other)=delete
libzmf::ZMF2Parser::m_input
const RVNGInputStreamPtr m_input
Definition: ZMF2Parser.h:31
libzmf::ZMF2Parser::parse
bool parse()
Definition: ZMF2Parser.cpp:21
libzmf::ZMF2Parser::m_painter
librevenge::RVNGDrawingInterface * m_painter
Definition: ZMF2Parser.h:32
libzmf_utils.h
libzmf
Definition: BMIHeader.cpp:14
libzmf::RVNGInputStreamPtr
std::shared_ptr< librevenge::RVNGInputStream > RVNGInputStreamPtr
Definition: libzmf_utils.h:80