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 &)
void ConstructL ()
void DoActivateL (const TVwsViewId &, TUid , const TDesC8 &)
void DoDeactivate ()
void DynInitMenuPaneL ( TInt , CEikMenuPane *)
TInt GetViewSpecificMenuFilteringFlagsL ()
TBool HandleCommandKeyL (const TKeyEvent &, TEventCode )
void HandleCommandL ( TInt )
void HandleForegroundEventL ( TBool )
void HandleLongTapEventL (const TPoint &, const TPoint &)
void HandlePointerEventL (const TPointerEvent &)
void HandleStatusPaneSizeChange ()
void LoadViewL ()
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 ( TUid aViewId,
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()

void ConstructL ( ) [private, inline]

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

void DoActivateL ( const TVwsViewId & aPrevViewId,
TUid aCustomMessageId,
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 & aPrevViewId Specifies the view previously active.
TUid aCustomMessageId Specifies the message type.
const TDesC8 & aCustomMessage The activation message.

DoDeactivate()

void DoDeactivate ( ) [private, virtual]

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

DynInitMenuPaneL(TInt, CEikMenuPane *)

void DynInitMenuPaneL ( TInt aResourceId,
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,
TEventCode aType
) [private, virtual]

Handles command keys application-side.

CCoeControl::OfferKeyEventL

Parameters

const TKeyEvent & aKeyEvent Key event as in CCoeControl::OfferKeyEventL.
TEventCode aType Key event type as in CCoeControl::OfferKeyEventL.

HandleCommandL(TInt)

void HandleCommandL ( TInt aCommand ) [private, virtual]

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

Parameters

TInt aCommand ID of the command to respond to.

HandleForegroundEventL(TBool)

void HandleForegroundEventL ( TBool aForeground ) [private, virtual]

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

Parameters

TBool aForeground Indicates the required focus state of the control.

HandleLongTapEventL(const TPoint &, const TPoint &)

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

Handles long tap pointer events.

MAknLongTapDetectorCallBack

Parameters

const TPoint & aPenEventLocation Long tap event location relative to parent control.
const TPoint & aPenEventScreenLocation Long tap event location relative to screen.

HandlePointerEventL(const TPointerEvent &)

void HandlePointerEventL ( const TPointerEvent & aPointerEvent ) [private, virtual]

Handles pointer events application-side.

Parameters

const TPointerEvent & aPointerEvent Pointer event.

HandleStatusPaneSizeChange()

void HandleStatusPaneSizeChange ( ) [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()

void LoadViewL ( ) const [private]

NewL(TUid, CPbk2UIExtensionLoader &)

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

Creates a new instance of this class.

Parameters

TUid aViewId Id of the view to create.
CPbk2UIExtensionLoader & aExtensionLoader Extension loader.

PluginForViewId(TUid)

TUid PluginForViewId ( TUid aViewId ) 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]