MSZipPackageFileDropType Class Reference
 
 
 
MSZipPackageFileDropType Class Reference

#include <idraganddrop.h>

Inheritance diagram for MSZipPackageFileDropType:
FileDropType DropScriptDropType DropType DropType MaxHeapOperators MaxHeapOperators

Class Description

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

Description:
This class represents the script zip package 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.

Public Member Functions

int  TypeCode ()
bool  Load (bool showProgress=true)
CoreExport bool  CheckDropType (const 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 ( const 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