MAknFileSelectionObserver Class Reference

#include <mw/MAknFileSelectionObserver.h>

Link against: CommonDialogs.lib

class MAknFileSelectionObserver
Public Member Functions
virtual ~MAknFileSelectionObserver()
pure virtual TBool OkToExitL(const TDesC &, const TEntry &)

Detailed Description

Observer class that can be set to observe if selected item e.g. has correct size or date before letting dialog exit.

Since
1.2

Constructor & Destructor Documentation

~MAknFileSelectionObserver ( )

~MAknFileSelectionObserver()[inline, virtual]

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

Member Function Documentation

OkToExitL ( const TDesC &, const TEntry & )

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

Get's called when user selects an file.

ParameterDescription
aDriveAndPathDrive and full path of the file.
aEntryAn entry containing all information of selected item.

Returns: Returns ETrue if it is ok to exit from dialog.