Public Types | Public Member Functions | Static Public Member Functions | Public Attributes

MSZipPackage Class Reference

Search for all occurrences

#include <mxsZipPackage.h>

Inheritance diagram for MSZipPackage:
Inheritance graph
[legend]

List of all members.

Public Types

enum   clear_modes { CLEAR_NOW, CLEAR_ON_MAX_EXIT, CLEAR_ON_RESET, KEEP }

Public Member Functions

  MSZipPackage (const MCHAR *file_name)
void  collect ()
bool  extract_to (const MCHAR *dir)
MCHAR *  find_extraction (const MCHAR *zip_name)
void  add_extraction (const MCHAR *zip_name, const MCHAR *extracted_name)
MSTR  expand_dir_for_extraction (const MCHAR *dir)
MSTR  expand_file_for_extraction (const MCHAR *file_name)
void  run_all_scripts ()
bool  run_script (const MCHAR *zip_name)

Static Public Member Functions

static ScripterExport bool  file_in_package (const MCHAR *file_name, MSTR *extract_dir=NULL)
static int WINAPI  output_callback (char far *buf, unsigned long size)
static ScripterExport BOOL  search_current_package (const MCHAR *file_name, MCHAR *found_path)
static ScripterExport MSTR  expand_dir (const MCHAR *dir)
static ScripterExport MSTR  expand_file (const MCHAR *file_name)

Public Attributes

MSTR  file_name
MSTR  package_name
MSTR  description
int  version
MSTR  extract_dir
MSTR  drop_file
TabMZPExtraction  extractions
clear_modes  clear_mode
WORD  flags

Member Enumeration Documentation


Constructor & Destructor Documentation

MSZipPackage ( const MCHAR *  file_name ) [inline]
: file_name(file_name), flags(0), clear_mode(CLEAR_ON_MAX_EXIT) { tag = INTERNAL_CLASS_TAG; } 

Member Function Documentation

void collect ( ) [inline, virtual]

Implements Collectable.

{ delete this; }
static ScripterExport bool file_in_package ( const MCHAR *  file_name,
MSTR extract_dir = NULL 
) [static]
static int WINAPI output_callback ( char far *  buf,
unsigned long  size 
) [static]
static ScripterExport BOOL search_current_package ( const MCHAR *  file_name,
MCHAR *  found_path 
) [static]
bool extract_to ( const MCHAR *  dir )
MCHAR* find_extraction ( const MCHAR *  zip_name ) [inline]
void add_extraction ( const MCHAR *  zip_name,
const MCHAR *  extracted_name 
)
static ScripterExport MSTR expand_dir ( const MCHAR *  dir ) [static]
static ScripterExport MSTR expand_file ( const MCHAR *  file_name ) [static]
MSTR expand_dir_for_extraction ( const MCHAR *  dir )
MSTR expand_file_for_extraction ( const MCHAR *  file_name )
void run_all_scripts ( )
bool run_script ( const MCHAR *  zip_name )

Member Data Documentation

int version
WORD flags

MSZipPackage MSZipPackage MSZipPackage MSZipPackage MSZipPackage MSZipPackage MSZipPackage MSZipPackage MSZipPackage MSZipPackage
MSZipPackage MSZipPackage MSZipPackage MSZipPackage MSZipPackage MSZipPackage MSZipPackage MSZipPackage MSZipPackage MSZipPackage