fintp_base
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
TUnzip Class Reference

Public Member Functions

 TUnzip (const char *pwd)
 
 ~TUnzip ()
 
ZRESULT Open (void *z, unsigned int len, DWORD flags)
 
ZRESULT Get (int index, ZIPENTRY *ze)
 
ZRESULT Find (const TCHAR *name, bool ic, int *index, ZIPENTRY *ze)
 
ZRESULT Unzip (int index, void *dst, unsigned int len, DWORD flags)
 
ZRESULT SetUnzipBaseDir (const TCHAR *dir)
 
ZRESULT Close ()
 

Public Attributes

unzFile uf
 
int currentfile
 
ZIPENTRY cze
 
int czei
 
char * password
 
char * unzbuf
 
TCHAR rootdir [MAX_PATH]
 

Constructor & Destructor Documentation

TUnzip::TUnzip ( const char *  pwd)
inline
TUnzip::~TUnzip ( )
inline

Member Function Documentation

ZRESULT TUnzip::Close ( )
ZRESULT TUnzip::Find ( const TCHAR *  name,
bool  ic,
int *  index,
ZIPENTRY ze 
)
ZRESULT TUnzip::Get ( int  index,
ZIPENTRY ze 
)
ZRESULT TUnzip::Open ( void *  z,
unsigned int  len,
DWORD  flags 
)
ZRESULT TUnzip::SetUnzipBaseDir ( const TCHAR *  dir)
ZRESULT TUnzip::Unzip ( int  index,
void *  dst,
unsigned int  len,
DWORD  flags 
)

Member Data Documentation

int TUnzip::currentfile
ZIPENTRY TUnzip::cze
int TUnzip::czei
char* TUnzip::password
TCHAR TUnzip::rootdir[MAX_PATH]
unzFile TUnzip::uf
char* TUnzip::unzbuf

The documentation for this class was generated from the following file: