Main Page
Namespaces
Classes
Files
File List
File Members
CDRZipStream.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 libcdr 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 __CDRZIPSTREAM_H__
11
#define __CDRZIPSTREAM_H__
12
13
#include <vector>
14
15
#include <libwpd-stream/libwpd-stream.h>
16
17
namespace
libcdr
18
{
19
struct
CDRZipStreamImpl;
20
21
class
CDRZipStream
:
public
WPXInputStream
22
{
23
public
:
24
CDRZipStream
(WPXInputStream *input);
25
~CDRZipStream
();
26
27
bool
isOLEStream
();
28
WPXInputStream *
getDocumentOLEStream
(
const
char
*);
29
30
const
unsigned
char
*
read
(
unsigned
long
numBytes,
unsigned
long
&numBytesRead);
31
int
seek
(
long
offset, WPX_SEEK_TYPE seekType);
32
long
tell
();
33
bool
atEOS
();
34
35
private
:
36
CDRZipStream
(
const
CDRZipStream
&);
37
CDRZipStream
&
operator=
(
const
CDRZipStream
&);
38
CDRZipStreamImpl
*
m_pImpl
;
39
};
40
41
}
// namespace libcdr
42
43
#endif
44
/* vim:set shiftwidth=2 softtabstop=2 expandtab: */
Generated for libcdr by
doxygen
1.8.3.1