Public Member Functions

PathConfigDropType Class Reference

Search for all occurrences

Detailed Description

A DropType class specific to path configuration files.

Used by the DragAndDropManager to help determine the type of operation that should be performed given a specific drop operation.

#include <idraganddrop.h>

Inheritance diagram for PathConfigDropType:
Inheritance graph
[legend]

List of all members.

Public Member Functions

int  TypeCode ()
  Returns the drop type ID.
CoreExport bool  CheckDropType (MCHAR *filename)
  Checks to see if the passed in file is handled by this drop type.

Member Function Documentation

int TypeCode ( ) [inline, virtual]

Returns the drop type ID.

Reimplemented from FileDropType.

{ return PATHFILE_DROPTYPE; }
CoreExport bool CheckDropType ( MCHAR *  filename ) [virtual]

Checks to see if the passed in file is handled by this drop type.

This methods checks if this is a path configuration file, by examining the file's extension. ( == .mxp)

Parameters:
[in] filename The filename of the file dropped.
Returns:
true if this is a .mxp file

Reimplemented from FileDropType.


PathConfigDropType PathConfigDropType PathConfigDropType PathConfigDropType PathConfigDropType PathConfigDropType PathConfigDropType PathConfigDropType PathConfigDropType PathConfigDropType
PathConfigDropType PathConfigDropType PathConfigDropType PathConfigDropType PathConfigDropType PathConfigDropType PathConfigDropType PathConfigDropType PathConfigDropType PathConfigDropType