2
* Copyright (C) 2005 Fridrich Strba (fridrich.strba@bluewin.ch)
4
* This library is free software; you can redistribute it and/or
5
* modify it under the terms of the GNU Library General Public
6
* License as published by the Free Software Foundation; either
7
* version 2 of the License, or (at your option) any later version.
9
* This library is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
* Library General Public License for more details.
14
* You should have received a copy of the GNU Library General Public
15
* License along with this library; if not, write to the Free Software
16
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
18
* For further information visit http://libwpd.sourceforge.net
21
/* "This product is not manufactured, approved, or supported by
22
* Corel Corporation or Corel Corporation Limited."
25
#ifndef WP5GENERALPACKETINDEX_H
26
#define WP5GENERALPACKETINDEX_H
28
#include "WPXStream.h"
30
class WP5GeneralPacketIndex
33
WP5GeneralPacketIndex(WPXInputStream * input, int id);
34
const int getID() const { return m_id; }
35
const uint16_t getType() const { return m_type; }
36
const uint32_t getDataSize() const { return m_dataSize; }
37
const uint32_t getDataOffset() const { return m_dataOffset; }
40
void _read(WPXInputStream *input);
46
uint32_t m_dataOffset;
49
#endif /* WP5GENERALPACKETINDEX_H */