MPbk2UIExtensionView Class Reference

class MPbk2UIExtensionView

Phonebook 2 UI extension view interface. New Phonebook 2 views can be provided by extension views. The extension information resource PHONEBOOK2_EXTENSION_INFORMATION has to contain the view ID definitions in the PHONEBOOK2_EXTENSION_VIEW_ID resource(s) and the view graph modifications in the PBK2_VIEW_GRAPH resource. Extension views are loaded by CPbk2UIExtensionView .

CPbk2UIExtensionView Pbk2UIExtension.rh

Constructor & Destructor Documentation

~MPbk2UIExtensionView()

~MPbk2UIExtensionView ( ) [inline, virtual]

Destructor.

Member Functions Documentation

DoActivateL(const TVwsViewId &, TUid, const TDesC8 &)

void DoActivateL ( const TVwsViewId & aPrevViewId,
TUid aCustomMessageId,
const TDesC8 & aCustomMessage
) [pure virtual]

Activates the view.

Parameters

const TVwsViewId & aPrevViewId Previous view id.
TUid aCustomMessageId Custom message id.
const TDesC8 & aCustomMessage Custom message containing view state object CPbk2ViewState.

DoDeactivate()

void DoDeactivate ( ) [pure virtual]

Deactivates the view.

DynInitMenuPaneL(TInt, CEikMenuPane *)

void DynInitMenuPaneL ( TInt aResourceId,
CEikMenuPane * aMenuPane
) [pure virtual]

Initialises menu pane.

Parameters

TInt aResourceId Menu pane resource id.
CEikMenuPane * aMenuPane Menu pane.

GetViewSpecificMenuFilteringFlagsL()

TInt GetViewSpecificMenuFilteringFlagsL ( ) const [pure virtual]

Returns view specific menu filtering flags.

Pbk2MenuFilteringFlags.hrh

HandleCommandKeyL(const TKeyEvent &, TEventCode)

TBool HandleCommandKeyL ( const TKeyEvent & aKeyEvent,
TEventCode aType
) [pure virtual]

Handles key events.

Parameters

const TKeyEvent & aKeyEvent The event to handle.
TEventCode aType Event type.

HandleCommandL(TInt)

void HandleCommandL ( TInt aCommand ) [pure virtual]

Handles a command.

Parameters

TInt aCommand The command to handle.

HandleLongTapEventL(const TPoint &, const TPoint &)

void HandleLongTapEventL ( const TPoint & aPenEventLocation,
const TPoint & aPenEventScreenLocation
) [pure virtual]

Handles long stylus tap events.

Parameters

const TPoint & aPenEventLocation Control relative tap coordinates.
const TPoint & aPenEventScreenLocation Absolute tap coordinates.

HandlePointerEventL(const TPointerEvent &)

void HandlePointerEventL ( const TPointerEvent & aPointerEvent ) [pure virtual]

Handles a pointer event.

Parameters

const TPointerEvent & aPointerEvent The pointer event to handle.

HandleStatusPaneSizeChange()

void HandleStatusPaneSizeChange ( ) [pure virtual]

Handles status pane size change.

UIExtensionViewExtension(TUid)

TAny * UIExtensionViewExtension ( TUid ) [inline, virtual]

Returns an extension point for this interface or NULL.

Parameters

TUid

ViewStateLC()

CPbk2ViewState * ViewStateLC ( ) const [pure virtual]

Returns view state.