MAknFileFilter Class Reference

#include <mw/MAknFileFilter.h>

Link against: CommonDialogs.lib

class MAknFileFilter
Public Member Functions
virtual ~MAknFileFilter()
pure virtual TBool Accept(const TDesC &, const TEntry &)

Detailed Description

An abstract interface class for filters.

Since
1.2

Constructor & Destructor Documentation

~MAknFileFilter ( )

~MAknFileFilter()[inline, virtual]

A virtual destructor to ensure that correct destructor gets called. Must have an empty implementation.

Member Function Documentation

Accept ( const TDesC &, const TEntry & )

TBool Accept(const TDesC &aDriveAndPath,
const TEntry &aEntry
)const [pure virtual]

Checks if a file is accepted by the filter.

ParameterDescription
aDriveAndPathDrive and full path of the file.
aEntryA directory entry.

Returns: Returns ETrue if filter accepts the file.