Public Member Functions

DropScriptFileDropType Class Reference

Search for all occurrences

Detailed Description

See also:
Class FileDropType, DropTypes, Class DropScriptDropType

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

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

#include <idraganddrop.h>

Inheritance diagram for DropScriptFileDropType:
Inheritance graph
[legend]

List of all members.

Public Member Functions

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


DropScriptFileDropType DropScriptFileDropType DropScriptFileDropType DropScriptFileDropType DropScriptFileDropType DropScriptFileDropType DropScriptFileDropType DropScriptFileDropType DropScriptFileDropType DropScriptFileDropType
DropScriptFileDropType DropScriptFileDropType DropScriptFileDropType DropScriptFileDropType DropScriptFileDropType DropScriptFileDropType DropScriptFileDropType DropScriptFileDropType DropScriptFileDropType DropScriptFileDropType