Debian Codegraph @

src/lib/EPUBBinaryContent.h

raw
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /*
3 * This file is part of the libepubgen 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 INCLUDED_EPUBBINARYCONTENT_H
11 #define INCLUDED_EPUBBINARYCONTENT_H
12
13 #include <librevenge/librevenge.h>
14
15 namespace libepubgen
16 {
17
18 class EPUBPackage;
19
20 class EPUBBinaryContent
21 {
22 public:
23 EPUBBinaryContent();
24
25 void insertBinaryData(const librevenge::RVNGBinaryData &data);
26
27 void writeTo(EPUBPackage &package, const char *name);
28
29 private:
30 librevenge::RVNGBinaryData m_data;
31 };
32
33 }
34
35 #endif // INCLUDED_EPUBBINARYCONTENT_H
36
37 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */