vegastrike  0.5.1.r1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CPK3 Class Reference

#include <pk3.h>

Classes

struct  TZipDirFileHeader
 
struct  TZipDirHeader
 
struct  TZipLocalHeader
 

Public Member Functions

 CPK3 ()
 
 CPK3 (FILE *n_f)
 
 CPK3 (const char *filename)
 
 ~CPK3 ()
 
bool CheckPK3 (FILE *f)
 
bool Open (const char *filename)
 
bool ExtractFile (const char *lp_name)
 
bool ExtractFile (const char *lp_name, const char *new_filename)
 
char * ExtractFile (int index, int *file_size)
 
char * ExtractFile (const char *lpname, int *file_size)
 
int FileExists (const char *lpname)
 
bool Close (void)
 
void PrintFileContent ()
 

Detailed Description

Definition at line 47 of file pk3.h.

Constructor & Destructor Documentation

CPK3::CPK3 ( )
inline

Definition at line 65 of file pk3.h.

CPK3::CPK3 ( FILE *  n_f)

Definition at line 181 of file pk3.cpp.

CPK3::CPK3 ( const char *  filename)

Definition at line 186 of file pk3.cpp.

CPK3::~CPK3 ( )
inline

Definition at line 68 of file pk3.h.

Member Function Documentation

bool CPK3::CheckPK3 ( FILE *  f)

Definition at line 193 of file pk3.cpp.

bool CPK3::Close ( void  )

Definition at line 378 of file pk3.cpp.

bool CPK3::ExtractFile ( const char *  lp_name)

Definition at line 271 of file pk3.cpp.

bool CPK3::ExtractFile ( const char *  lp_name,
const char *  new_filename 
)

Definition at line 276 of file pk3.cpp.

char * CPK3::ExtractFile ( int  index,
int *  file_size 
)

Definition at line 324 of file pk3.cpp.

char * CPK3::ExtractFile ( const char *  lpname,
int *  file_size 
)

Definition at line 344 of file pk3.cpp.

int CPK3::FileExists ( const char *  lpname)

Definition at line 306 of file pk3.cpp.

bool CPK3::Open ( const char *  filename)

Definition at line 260 of file pk3.cpp.

void CPK3::PrintFileContent ( )

Definition at line 387 of file pk3.cpp.


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