EPUBBinarySink.h Source File documentation

EPUBBinarySink.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 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_EPUBBINARYSINK_H
11#define INCLUDED_EPUBBINARYSINK_H
12
13#include <librevenge/librevenge.h>
14
15#include <libepubgen/libepubgen.h>
16
17namespace libepubgen
18{
19
20 class EPUBBinarySink
21{
22public:
23 EPUBBinarySink();
24
25 void insertBinaryData(const librevenge::RVNGBinaryData &data);
26
27 void writeTo(EPUBPackage &package, const char *name);
28
29private:
30 librevenge::RVNGBinaryData m_data;
31};
32
33}
34
35#endif // INCLUDED_EPUBBINARYSINK_H
36
37/* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libepubgen::EPUBBinarySink::EPUBBinarySink
EPUBBinarySink()
Definition EPUBBinarySink.cpp:15
libepubgen::EPUBBinarySink::m_data
librevenge::RVNGBinaryData m_data
Definition EPUBBinarySink.h:30
libepubgen::EPUBBinarySink::writeTo
void writeTo(EPUBPackage &package, const char *name)
Definition EPUBBinarySink.cpp:25
libepubgen::EPUBBinarySink::insertBinaryData
void insertBinaryData(const librevenge::RVNGBinaryData &data)
Definition EPUBBinarySink.cpp:20
libepubgen
Definition EPUBBinarySink.cpp:13