Debian Codegraph @

src/lib/ZBRParser.h

raw symbols SCIP
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 ZBRPARSER_H_INCLUDED
11 #define ZBRPARSER_H_INCLUDED
12
13 #include <librevenge/librevenge.h>
14
15 #include "ZBRHeader.h"
16 #include "ZMFCollector.h"
17 #include "libzmf_utils.h"
18
19 namespace libzmf
20 {
21
22 class ZBRParser
23 {
24 ZBRParser(const ZBRParser &other) = delete;
25 ZBRParser &operator=(const ZBRParser &other) = delete;
26
27 public:
28 ZBRParser(const RVNGInputStreamPtr &input, librevenge::RVNGDrawingInterface *painter);
29 bool parse();
30
31 protected:
32 const RVNGInputStreamPtr m_input;
33 ZMFCollector m_collector;
34 ZBRHeader m_header;
35 };
36
37 }
38
39 #endif // ZBRPARSER_H_INCLUDED
40
41 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */