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 &)

voidDoActivateL(const TVwsViewId &aPrevViewId,
TUidaCustomMessageId,
const TDesC8 &aCustomMessage
)[pure virtual]

Activates the view.

Parameters

const TVwsViewId & aPrevViewIdPrevious view id.
TUid aCustomMessageIdCustom message id.
const TDesC8 & aCustomMessageCustom message containing view state object CPbk2ViewState.

DoDeactivate()

voidDoDeactivate()[pure virtual]

Deactivates the view.

DynInitMenuPaneL(TInt, CEikMenuPane *)

voidDynInitMenuPaneL(TIntaResourceId,
CEikMenuPane *aMenuPane
)[pure virtual]

Initialises menu pane.

Parameters

TInt aResourceIdMenu pane resource id.
CEikMenuPane * aMenuPaneMenu pane.

GetViewSpecificMenuFilteringFlagsL()

TInt GetViewSpecificMenuFilteringFlagsL()const [pure virtual]

Returns view specific menu filtering flags.

Pbk2MenuFilteringFlags.hrh

HandleCommandKeyL(const TKeyEvent &, TEventCode)

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

Handles key events.

Parameters

const TKeyEvent & aKeyEventThe event to handle.
TEventCode aTypeEvent type.

HandleCommandL(TInt)

voidHandleCommandL(TIntaCommand)[pure virtual]

Handles a command.

Parameters

TInt aCommandThe command to handle.

HandleLongTapEventL(const TPoint &, const TPoint &)

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

Handles long stylus tap events.

Parameters

const TPoint & aPenEventLocationControl relative tap coordinates.
const TPoint & aPenEventScreenLocationAbsolute tap coordinates.

HandlePointerEventL(const TPointerEvent &)

voidHandlePointerEventL(const TPointerEvent &aPointerEvent)[pure virtual]

Handles a pointer event.

Parameters

const TPointerEvent & aPointerEventThe pointer event to handle.

HandleStatusPaneSizeChange()

voidHandleStatusPaneSizeChange()[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.