ZBRHeader.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 ZBRHEADER_H_INCLUDED
11 #define ZBRHEADER_H_INCLUDED
12 
13 #include "libzmf_utils.h"
14 
15 namespace libzmf
16 {
17 
18 class ZBRHeader
19 {
20 public:
21  ZBRHeader();
22 
23  bool load(const RVNGInputStreamPtr &input);
24 
25  bool isSupported() const;
26 
27  unsigned version() const;
28 
29 private:
30  unsigned m_sig;
31  unsigned m_version;
32 };
33 
34 }
35 
36 #endif // ZBRHEADER_H_INCLUDED
37 
38 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
unsigned m_sig
Definition: ZBRHeader.h:30
std::shared_ptr< librevenge::RVNGInputStream > RVNGInputStreamPtr
Definition: libzmf_utils.h:80
bool isSupported() const
Definition: ZBRHeader.cpp:35
Definition: ZBRHeader.h:18
ZBRHeader()
Definition: ZBRHeader.cpp:17
unsigned version() const
Definition: ZBRHeader.cpp:40
Definition: BMIHeader.cpp:13
bool load(const RVNGInputStreamPtr &input)
Definition: ZBRHeader.cpp:23
unsigned m_version
Definition: ZBRHeader.h:31

Generated for libzmf by doxygen 1.8.14