Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
KEYZlibStream.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 libetonyek 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 KEYZLIBSTREAM_H_INCLUDED
11
#define KEYZLIBSTREAM_H_INCLUDED
12
13
#include "
libetonyek_utils.h
"
14
15
namespace
libetonyek
16
{
17
18
class
KEYZlibStream
:
public
WPXInputStream
19
{
20
public
:
21
KEYZlibStream
(
const
WPXInputStreamPtr_t
&stream);
22
virtual
~KEYZlibStream
();
23
24
virtual
bool
isOLEStream
();
25
virtual
WPXInputStream *
getDocumentOLEStream
(
const
char
*
name
);
26
27
virtual
const
unsigned
char
*
read
(
unsigned
long
numBytes,
unsigned
long
&numBytesRead);
28
virtual
int
seek
(
long
offset
, WPX_SEEK_TYPE seekType);
29
virtual
long
tell
();
30
virtual
bool
atEOS
();
31
32
private
:
33
WPXInputStreamPtr_t
m_stream
;
34
};
35
36
}
37
38
#endif // KEYZLIBSTREAM_H_INCLUDED
39
40
/* vim:set shiftwidth=2 softtabstop=2 expandtab: */
Generated for libetonyek by
doxygen
1.8.3.1