Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
ZUBaseFile.h
Package: 200521510444455.rar [view]
Upload User: sfdasf1q
Upload Date: 2021-05-08
Package Size: 99k
Code Size: 1k
Category:
Compress-Decompress algrithms
Development Platform:
Visual C++
- // ZUBaseFile.h: interface for the CZUBaseFile class.
- //
- // Copyright (C) 2000 Tadeusz Dracz
- //////////////////////////////////////////////////////////////////////
- #if !defined(AFX_ZUBASEFILE_H__AEA985C0_D813_11D3_B7C7_8E2FB86D3347__INCLUDED_)
- #define AFX_ZUBASEFILE_H__AEA985C0_D813_11D3_B7C7_8E2FB86D3347__INCLUDED_
- #include "zlib.h"
- #include "ZipException.h"
- class CPtrList;
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // base class for CUnzipFile and CZipFile
- class CZUBaseFile
- {
- public:
- CZUBaseFile();
- virtual ~CZUBaseFile();
- // specify whether to control memory allocation and freeing by zlib library
- // strongly suggested to set it to true (default)
- bool m_bDetectZlibMemoryLeaks;
- protected:
- CPtrList m_list;
- void CheckForError(int err);
- void ThrowError(int err);
- static void myfree(void* opaque, void* address);
- static void* myalloc(void* opaque, UINT items, UINT size);
- bool IsClosed();
- CFile* m_pFile;
- bool m_bZipFile;
- };
- #endif // !defined(AFX_ZUBASEFILE_H__AEA985C0_D813_11D3_B7C7_8E2FB86D3347__INCLUDED_)