DropScriptFileDropType Class Reference
 
 
 
DropScriptFileDropType Class Reference

#include <idraganddrop.h>

Inheritance diagram for DropScriptFileDropType:
FileDropType DropScriptDropType DropType DropType MaxHeapOperators MaxHeapOperators

Class Description

See also:
Class FileDropType, DropTypes, Class DropScriptDropType

Description:
This class represents the drop script file (*.ds, *.dse) DropType and is available through the built-in type instance dropScriptFileDropType.

Public Member Functions

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

Member Function Documentation

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

Reimplemented from FileDropType.

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.