Public Member Functions | Public Attributes

MSZipPackageFileDropType Class Reference

Search for all occurrences

Detailed Description

See also:
Class FileDropType, List of DropTypes, Class DropScriptDropType

Description:
This class is available in release 4.0 and later only.

This class represents the script zip module file (*.mzp) DropType and is available through the built-in type instance msZipPackageFileDropType.
Data Members:
MSTR extract_dir;

The path string representing the directory to extract into.

MSTR drop_file;

The drop file string.

DropType* drop_file_type;

The DropType if the drop_file is not a dropScript.

#include <idraganddrop.h>

Inheritance diagram for MSZipPackageFileDropType:
Inheritance graph
[legend]

List of all members.

Public Member Functions

int  TypeCode ()
bool  Load (bool showProgress=true)
CoreExport bool  CheckDropType (MCHAR *filename)

Public Attributes

MSTR  extract_dir
MSTR  drop_file
DropType drop_file_type

Member Function Documentation

int TypeCode ( ) [inline, virtual]
Remarks:
This method returns the typecode of the DropType.
Default Implementation:
{ return MSZIPFILE_DROPTYPE; }

Reimplemented from FileDropType.

{ return MSZIPFILE_DROPTYPE; }
bool Load ( bool  showProgress = true ) [virtual]
Remarks:
This method will perform any droptype-specific loading.
Parameters:
bool showProgress = true

The download progress dialog can be displayed by passing true.

Reimplemented from FileDropType.

CoreExport bool CheckDropType ( MCHAR *  filename ) [virtual]
Remarks:
This method checks if the file type associated with the DropType is recognized.
Parameters:
MCHAR* filename

The filename suffix.
Returns:
TRUE if the filename suffix checks out, otherwise FALSE.

Reimplemented from FileDropType.


Member Data Documentation


MSZipPackageFileDropType MSZipPackageFileDropType MSZipPackageFileDropType MSZipPackageFileDropType MSZipPackageFileDropType MSZipPackageFileDropType MSZipPackageFileDropType MSZipPackageFileDropType MSZipPackageFileDropType MSZipPackageFileDropType
MSZipPackageFileDropType MSZipPackageFileDropType MSZipPackageFileDropType MSZipPackageFileDropType MSZipPackageFileDropType MSZipPackageFileDropType MSZipPackageFileDropType MSZipPackageFileDropType MSZipPackageFileDropType MSZipPackageFileDropType