The SWORD Project
1.9.0.svnversion
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
zipcomprs.h
Go to the documentation of this file.
1
/******************************************************************************
2
*
3
* zipcomprs.h - class ZipCompress: an SWCompress implemention which
4
* uses zip compression
5
*
6
* $Id: zipcomprs.h 3813 2020-10-17 11:52:15Z scribe $
7
*
8
* Copyright 2000-2013 CrossWire Bible Society (http://www.crosswire.org)
9
* CrossWire Bible Society
10
* P. O. Box 2528
11
* Tempe, AZ 85280-2528
12
*
13
* This program is free software; you can redistribute it and/or modify it
14
* under the terms of the GNU General Public License as published by the
15
* Free Software Foundation version 2.
16
*
17
* This program is distributed in the hope that it will be useful, but
18
* WITHOUT ANY WARRANTY; without even the implied warranty of
19
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20
* General Public License for more details.
21
*
22
*/
23
24
#ifndef ZIPCOMPRS_H
25
#define ZIPCOMPRS_H
26
27
#include <
swcomprs.h
>
28
29
#include <
defs.h
>
30
31
SWORD_NAMESPACE_START
32
33
class
FileDesc
;
34
35
class
SWDLLEXPORT
ZipCompress
:
public
SWCompress
{
36
37
public
:
38
ZipCompress
();
39
virtual
~
ZipCompress
();
40
41
virtual
void
encode
(
void
);
42
virtual
void
decode
(
void
);
43
44
static
char
unTarGZ(
int
fd,
const
char
*destPath);
45
};
46
47
SWORD_NAMESPACE_END
48
#endif
SWORD_NAMESPACE_START
#define SWORD_NAMESPACE_START
Definition:
defs.h:39
SWDLLEXPORT
#define SWDLLEXPORT
Definition:
defs.h:171
SWCompress::decode
virtual void decode(void)
Definition:
swcomprs.cpp:193
SWCompress
Definition:
swcomprs.h:31
FileDesc
Definition:
filemgr.h:215
swcomprs.h
defs.h
SWCompress::encode
virtual void encode(void)
Definition:
swcomprs.cpp:180
ZipCompress
Definition:
zipcomprs.h:35
SWORD_NAMESPACE_END
#define SWORD_NAMESPACE_END
Definition:
defs.h:40
include
zipcomprs.h
Generated by
1.8.5