MSZipPackage Class Reference
 
 
 
MSZipPackage Class Reference

#include <mxsZipPackage.h>

Inheritance diagram for MSZipPackage:
Value Collectable

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)
const MCHAR *  find_extraction (const MCHAR *zip_name)
void  add_extraction (const MCHAR *zip_name, const MCHAR *extracted_name)
MSTR  expand_dir_for_extraction (const MSTR &dir)
MSTR  expand_file_for_extraction (const MSTR &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 (void *, MCHAR far *buf, unsigned long size)
static ScripterExport BOOL  search_current_package (const MCHAR *file_name, MCHAR *found_path)
static ScripterExport MSTR  expand_dir (const MSTR &dir)
static ScripterExport MSTR  expand_file (const MSTR &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]

Member Function Documentation

void collect ( ) [virtual]
static ScripterExport bool file_in_package ( const MCHAR *  file_name,
MSTR extract_dir = NULL 
) [static]
static int WINAPI output_callback ( void *  ,
MCHAR 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 )
const 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 MSTR dir ) [static]
static ScripterExport MSTR expand_file ( const MSTR file_name ) [static]
MSTR expand_dir_for_extraction ( const MSTR dir )
MSTR expand_file_for_extraction ( const MSTR file_name )
void run_all_scripts ( )
bool run_script ( const MCHAR *  zip_name )

Member Data Documentation

WORD flags