CPbk2UIExtensionView Class Reference

class CPbk2UIExtensionView : public CPbk2AppViewBase

Phonebook 2 UI extension view.

Inherits from

Public Member Functions
~CPbk2UIExtensionView()
CEikButtonGroupContainer *Cba()
TUid Id()
CPbk2UIExtensionView *NewL(TUid, CPbk2UIExtensionLoader &)
Private Member Functions
CPbk2UIExtensionView(TUid, CPbk2UIExtensionLoader &)
voidConstructL()
voidDoActivateL(const TVwsViewId &, TUid, const TDesC8 &)
voidDoDeactivate()
voidDynInitMenuPaneL(TInt, CEikMenuPane *)
TInt GetViewSpecificMenuFilteringFlagsL()
TBool HandleCommandKeyL(const TKeyEvent &, TEventCode)
voidHandleCommandL(TInt)
voidHandleForegroundEventL(TBool)
voidHandleLongTapEventL(const TPoint &, const TPoint &)
voidHandlePointerEventL(const TPointerEvent &)
voidHandleStatusPaneSizeChange()
voidLoadViewL()
TUid PluginForViewId(TUid)
CPbk2ViewState *ViewStateLC()
Inherited Functions
CAknView::ActivateViewL(const TVwsViewId &)
CAknView::ActivateViewL(const TVwsViewId &,TUid,const TDesC8 &)
CAknView::AknViewActivatedL(const TVwsViewId &,TUid,const TDesC8 &)
CAknView::AknViewDeactivated()
CAknView::AppUi()const
CAknView::BaseConstructL(TInt)
CAknView::CAknView()
CAknView::ClientRect()const
CAknView::ConstructMenuAndCbaEarlyL()
CAknView::CreateAndSetToolbarL(TInt)
CAknView::HandleViewRectChange()
CAknView::IsForeground()const
CAknView::MenuBar()const
CAknView::MopNext()
CAknView::MopSupplyObject(TTypeUid)
CAknView::ProcessForegroundEventL(TBool)
CAknView::Redraw()const
CAknView::SaveToolbarStatus(TBool,TBool)
CAknView::SetEmphasis(CCoeControl *,TBool)
CAknView::SetToolbar(CAknToolbar *)
CAknView::ShowToolbarOnViewActivation(TBool)
CAknView::StatusPane()const
CAknView::StopDisplayingMenuBar()
CAknView::StopDisplayingToolbar()
CAknView::Toolbar()const
CAknView::ToolbarShownOnViewActivation()const
CAknView::ViewActivatedL(const TVwsViewId &,TUid,const TDesC8 &)
CAknView::ViewDeactivated()
CAknView::ViewId()const
CAknView::ViewScreenDeviceChangedL()
CAknView::~CAknView()
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CPbk2AppViewBase::AppViewBaseExtension(TUid)
CPbk2AppViewBase::ApplicationUid()const
CPbk2AppViewBase::CPbk2AppViewBase()
CPbk2AppViewBase::ClosePopup()
CPbk2AppViewBase::GetMenuFilteringFlagsL()const
CPbk2AppViewBase::LaunchPopupMenuL(TInt)
CPbk2AppViewBase::LaunchStylusPopupMenu2L(TInt,const TPoint &)
CPbk2AppViewBase::LaunchStylusPopupMenuL(TInt,const TPoint &)
CPbk2AppViewBase::~CPbk2AppViewBase()
Private Attributes
CPbk2UIExtensionLoader &iExtensionLoader
MPbk2UIExtensionView *iView
TUid iViewId
Inherited Attributes
CAknView::iCoeEnv

Constructor & Destructor Documentation

CPbk2UIExtensionView(TUid, CPbk2UIExtensionLoader &)

CPbk2UIExtensionView(TUidaViewId,
CPbk2UIExtensionLoader &aExtensionLoader
)[private]

Parameters

TUid aViewId
CPbk2UIExtensionLoader & aExtensionLoader

~CPbk2UIExtensionView()

~CPbk2UIExtensionView()

Destructor.

Member Functions Documentation

Cba()

CEikButtonGroupContainer *Cba()const [inline]

Button group container (=CBA) accessor method. This returns the views CBA if there is one, and the applications user interfaces CBA otherwise.

ConstructL()

voidConstructL()[private, inline]

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

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

Handles a view activation and passes the message of type aCustomMessageId. This function is intended for overriding by sub classes. This function is called by AknViewActivatedL(). Views should not launch waiting or modal notes or dialogs in DoActivateL.

Parameters

const TVwsViewId & aPrevViewIdSpecifies the view previously active.
TUid aCustomMessageIdSpecifies the message type.
const TDesC8 & aCustomMessageThe activation message.

DoDeactivate()

voidDoDeactivate()[private, virtual]

View deactivation function intended for overriding by sub classes. This function is called by AknViewDeactivated().

DynInitMenuPaneL(TInt, CEikMenuPane *)

voidDynInitMenuPaneL(TIntaResourceId,
CEikMenuPane *aMenuPane
)[private]

Parameters

TInt aResourceId
CEikMenuPane * aMenuPane

GetViewSpecificMenuFilteringFlagsL()

TInt GetViewSpecificMenuFilteringFlagsL()const [private, virtual]

Gets view specific menu filtering flags.

HandleCommandKeyL(const TKeyEvent &, TEventCode)

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

Handles command keys application-side.

CCoeControl::OfferKeyEventL

Parameters

const TKeyEvent & aKeyEventKey event as in CCoeControl::OfferKeyEventL.
TEventCode aTypeKey event type as in CCoeControl::OfferKeyEventL.

HandleCommandL(TInt)

voidHandleCommandL(TIntaCommand)[private, virtual]

Command handling function intended for overriding by sub classes. Default implementation is empty.

Parameters

TInt aCommandID of the command to respond to.

HandleForegroundEventL(TBool)

voidHandleForegroundEventL(TBoolaForeground)[private, virtual]

From MEikMenuObserver. Foreground event handling function intended for overriding by sub classes.

Parameters

TBool aForegroundIndicates the required focus state of the control.

HandleLongTapEventL(const TPoint &, const TPoint &)

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

Handles long tap pointer events.

MAknLongTapDetectorCallBack

Parameters

const TPoint & aPenEventLocationLong tap event location relative to parent control.
const TPoint & aPenEventScreenLocationLong tap event location relative to screen.

HandlePointerEventL(const TPointerEvent &)

voidHandlePointerEventL(const TPointerEvent &aPointerEvent)[private, virtual]

Handles pointer events application-side.

Parameters

const TPointerEvent & aPointerEventPointer event.

HandleStatusPaneSizeChange()

voidHandleStatusPaneSizeChange()[private, virtual]

Event handler for status pane size changes. CAknView provides an empty implementation for sub classes that do not want to handle this event.

Id()

TUid Id()const [virtual]

Returns views id, intended for overriding by sub classes.

LoadViewL()

voidLoadViewL()const [private]

NewL(TUid, CPbk2UIExtensionLoader &)

CPbk2UIExtensionView *NewL(TUidaViewId,
CPbk2UIExtensionLoader &aExtensionLoader
)[static]

Creates a new instance of this class.

Parameters

TUid aViewIdId of the view to create.
CPbk2UIExtensionLoader & aExtensionLoaderExtension loader.

PluginForViewId(TUid)

TUid PluginForViewId(TUidaViewId)const [private]

Parameters

TUid aViewId

ViewStateLC()

CPbk2ViewState *ViewStateLC()const [private, virtual]

Creates and returns an object containing this view's current state, which is used in view switching.

Member Data Documentation

CPbk2UIExtensionLoader & iExtensionLoader

CPbk2UIExtensionLoader &iExtensionLoader[private]

MPbk2UIExtensionView * iView

MPbk2UIExtensionView *iView[private]

TUid iViewId

TUid iViewId[private]