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