123456789101112131415161718192021 |
- #pragma once
- #include "..\ZLibWrapLib\ZLib\unzip.h"
- #include <afx.h>
- class CUnZipFile
- {
- public:
- CUnZipFile(void);
- ~CUnZipFile(void);
- CUnZipFile(LPCTSTR fileName);
- BOOL GetNextEntry(CString & strFileName);
- int Read(void * buffer,int bufferSize);
- void Close( );
- BOOL HasMoreEntry();
- protected:
- unzFile uf;
- int m_nCurrentEntryNum;
- int m_nEntryNum;
- BOOL m_bIsCurrentFileOpened;
- BOOL m_bIsZipOpened;
- };
|