WP6GraphicsCachedFileDataPacket.h Source File documentation

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

WP6GraphicsCachedFileDataPacket.h
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
2 /* libwpd
3 * Version: MPL 2.0 / LGPLv2.1+
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 * Major Contributor(s):
10 * Copyright (C) 2007 Fridrich Strba (fridrich.strba@bluewin.ch)
11 * Copyright (C) 2007 Novell Inc. (http://www.novell.com)
12 *
13 * For minor contributions see the git repository.
14 *
15 * Alternatively, the contents of this file may be used under the terms
16 * of the GNU Lesser General Public License Version 2.1 or later
17 * (LGPLv2.1+), in which case the provisions of the LGPLv2.1+ are
18 * applicable instead of those above.
19 *
20 * For further information visit http://libwpd.sourceforge.net
21 */
22
23 /* "This product is not manufactured, approved, or supported by
24 * Corel Corporation or Corel Corporation Limited."
25 */
26
27 #ifndef WP6GRAPHICSCACHEDFILEDATAPACKET_H
28 #define WP6GRAPHICSCACHEDFILEDATAPACKET_H
29 #include "WP6PrefixDataPacket.h"
30 #include "WP6FileStructure.h"
31 #include "WP6Listener.h"
32
33 class WP6GraphicsCachedFileDataPacket : public WP6PrefixDataPacket
34 {
35 public:
36 WP6GraphicsCachedFileDataPacket(librevenge::RVNGInputStream *input, WPXEncryption *encryption, int id, unsigned dataOffset, unsigned dataSize);
37 ~WP6GraphicsCachedFileDataPacket();
38 void _readContents(librevenge::RVNGInputStream *input, WPXEncryption *encryption);
39 void parse(WP6Listener * /* listener */) const {}
40 const librevenge::RVNGBinaryData *getBinaryObject() const
41 {
42 return m_object;
43 }
44
45 private:
46 WP6GraphicsCachedFileDataPacket(const WP6GraphicsCachedFileDataPacket &);
47 WP6GraphicsCachedFileDataPacket &operator=(const WP6GraphicsCachedFileDataPacket &);
48 int m_id;
49 librevenge::RVNGBinaryData *m_object;
50 unsigned char *m_data;
51
52 };
53 #endif /* WP6GRAPHICSCACHEDFILEDATAPACKET_H */
54 /* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */
WP6FileStructure.h
WP6Listener
Definition: WP6Listener.h:40
WP6GraphicsCachedFileDataPacket
Definition: WP6GraphicsCachedFileDataPacket.h:33
WP6GraphicsCachedFileDataPacket::operator=
WP6GraphicsCachedFileDataPacket & operator=(const WP6GraphicsCachedFileDataPacket &)
WP6GraphicsCachedFileDataPacket::m_id
int m_id
Definition: WP6GraphicsCachedFileDataPacket.h:48
WP6GraphicsCachedFileDataPacket::_readContents
void _readContents(librevenge::RVNGInputStream *input, WPXEncryption *encryption)
Definition: WP6GraphicsCachedFileDataPacket.cpp:52
WP6GraphicsCachedFileDataPacket::parse
void parse(WP6Listener *) const
Definition: WP6GraphicsCachedFileDataPacket.h:39
WP6GraphicsCachedFileDataPacket::~WP6GraphicsCachedFileDataPacket
~WP6GraphicsCachedFileDataPacket()
Definition: WP6GraphicsCachedFileDataPacket.cpp:42
WP6GraphicsCachedFileDataPacket::m_data
unsigned char * m_data
Definition: WP6GraphicsCachedFileDataPacket.h:50
WPXEncryption
Definition: WPXEncryption.h:33
WP6GraphicsCachedFileDataPacket::getBinaryObject
const librevenge::RVNGBinaryData * getBinaryObject() const
Definition: WP6GraphicsCachedFileDataPacket.h:40
WP6PrefixDataPacket
Definition: WP6PrefixDataPacket.h:35
WP6GraphicsCachedFileDataPacket::WP6GraphicsCachedFileDataPacket
WP6GraphicsCachedFileDataPacket(librevenge::RVNGInputStream *input, WPXEncryption *encryption, int id, unsigned dataOffset, unsigned dataSize)
Definition: WP6GraphicsCachedFileDataPacket.cpp:33
WP6Listener.h
WP6GraphicsCachedFileDataPacket::m_object
librevenge::RVNGBinaryData * m_object
Definition: WP6GraphicsCachedFileDataPacket.h:49
WP6PrefixDataPacket.h