CCoeViewManager Class Reference
class CCoeViewManager : public CBase
|
The
CCoeViewManager
class provides Cone's view management and implements the view specific functionality accessed through the
CCoeAppUi
API.
Public Member Functions
|
|
~CCoeViewManager
()
|
void
|
ActivateTopViewL
()
|
void
|
ActivateViewL
(const
TVwsViewId
&,
TBool
)
|
void
|
ActivateViewL
(const
TVwsViewId
&, const
TUid
&, const
TDesC8
&,
TBool
)
|
void
|
AddViewActivationObserverL
(
MCoeViewActivationObserver
*)
|
void
|
AddViewDeactivationObserverL
(
MCoeViewDeactivationObserver
*)
|
void
|
AddViewObserverL
(
MCoeViewObserver
*)
|
void
|
CheckInitializeViewsL
(const
TUid
&)
|
TBool
|
CheckSourceOfViewSwitchL
(const
TSecurityPolicy
&, const char *)
|
void
|
CreateActivateViewEventL
(const
TVwsViewId
&, const
TUid
&, const
TDesC8
&)
|
void
|
DeactivateActiveViewIfOwnerMatchL
()
|
void
|
DeactivateActiveViewL
()
|
void
|
DeregisterApplicationView
()
|
void
|
DeregisterView
(const
MCoeView
&)
|
void
|
DoActivationL
(const
TVwsViewId
&, const
TVwsViewId
&, const
TUid
&,
TInt
)
|
void
|
DoDeactivation
(const
TVwsViewId
&, const
TVwsViewId
&, const
TVwsViewEvent::TVwsViewEventType
)
|
TInt
|
EnableExternalViewSwitches
(
TBool
)
|
TInt
|
GetActiveViewId
(
TVwsViewId
&)
|
TInt
|
GetDefaultViewId
(
TVwsViewId
&)
|
void
|
GetSystemDefaultViewL
(
TVwsViewId
&)
|
TInt
|
GetTopViewId
(
TVwsViewId
&)
|
TVwsViewIdAndMessage
|
HandleScreenDeviceChangedL
(const
TVwsViewId
&)
|
void
|
HandleViewActivationNotification
(const
TVwsViewId
&, const
TVwsViewId
&)
|
void
|
HandleViewDeactivationNotification
(const
TVwsViewId
&, const
TVwsViewId
&)
|
TBool
|
IsViewConstructed
(const
TVwsViewId
&)
|
CCoeViewManager
*
|
NewL
(
CCoeEnv
&,
CCoeAppUi
&,
CCoeAppUi
*)
|
void
|
NotifyNextActivation
(const
TVwsViewId
&,
MCoeViewActivationObserver
&)
|
void
|
NotifyNextActivation
(
MCoeViewActivationObserver
&)
|
void
|
NotifyNextDeactivation
(const
TVwsViewId
&,
MCoeViewDeactivationObserver
&)
|
void
|
NotifyNextDeactivation
(
MCoeViewDeactivationObserver
&)
|
void
|
RegisterApplicationViewL
(const
TUid
&)
|
void
|
RegisterViewL
(
MCoeView
&)
|
void
|
RemoveViewActivationObserver
(
MCoeViewActivationObserver
*)
|
void
|
RemoveViewDeactivationObserver
(
MCoeViewDeactivationObserver
*)
|
void
|
RemoveViewObserver
(
MCoeViewObserver
*)
|
void
|
SetApplicationViewAsDefaultL
()
|
void
|
SetCustomControl
(const
TInt
)
|
void
|
SetDefaultViewL
(const
MCoeView
&)
|
void
|
SetSystemDefaultViewL
(const
TVwsViewId
&,
TInt
)
|
void
|
SetSystemDefaultViewL
(const
TVwsViewId
&)
|
void
|
SetWindowGroupOrdinal
(const
TInt
)
|
void
|
UpdateViewServerBackgroundColor
(const
TRgb
&)
|
TInt
|
ViewIndex
(const
MCoeView
&)
|
TInt
|
ViewIndex
(const
TVwsViewId
&)
|
Constructor & Destructor Documentation
CCoeViewManager(CCoeEnv &, CCoeAppUi &, CCoeAppUi *)
Member Functions Documentation
ActivateTopViewL()
void
|
ActivateTopViewL
|
(
|
)
|
|
ActivateViewL(const TVwsViewId &, TBool)
void
|
ActivateViewL
|
(
|
const
TVwsViewId
&
|
aViewId,
|
|
TBool
|
aActivatingTopView = EFalse
|
|
)
|
|
ActivateViewL(const TVwsViewId &, const TUid &, const TDesC8 &, TBool)
void
|
ActivateViewL
|
(
|
const
TVwsViewId
&
|
aViewId,
|
|
const
TUid
&
|
aCustomMessageId,
|
|
const
TDesC8
&
|
aCustomMessage,
|
|
TBool
|
aActivatingTopView = EFalse
|
|
)
|
|
AddViewActivationObserverL(MCoeViewActivationObserver *)
AddViewDeactivationObserverL(MCoeViewDeactivationObserver *)
AddViewObserverL(MCoeViewObserver *)
CheckInitializeViewsL(const TUid &)
void
|
CheckInitializeViewsL
|
(
|
const
TUid
&
|
aAppUid
|
)
|
|
CheckSourceOfViewSwitchL(const TSecurityPolicy &, const char *)
TBool
|
CheckSourceOfViewSwitchL
|
(
|
const
TSecurityPolicy
&
|
aSecurityPolicy,
|
|
const char *
|
aDiagnostic
|
|
)
|
const
|
CompleteActivation(TInt, const TVwsViewId &, const TVwsViewId &)
void
|
CompleteActivation
|
(
|
TInt
|
aActiveViewIndex,
|
|
const
TVwsViewId
&
|
aViewId,
|
|
const
TVwsViewId
&
|
aPreviousViewId
|
|
)
|
[private]
|
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
CreateActivateViewEventL(const TVwsViewId &, const TUid &, const TDesC8 &)
void
|
CreateActivateViewEventL
|
(
|
const
TVwsViewId
&
|
aViewId,
|
|
const
TUid
&
|
aCustomMessageId,
|
|
const
TDesC8
&
|
aCustomMessage
|
|
)
|
|
DeactivateActiveViewIfOwnerMatchL()
void
|
DeactivateActiveViewIfOwnerMatchL
|
(
|
)
|
|
DeactivateActiveViewL()
void
|
DeactivateActiveViewL
|
(
|
)
|
|
DeregisterApplicationView()
void
|
DeregisterApplicationView
|
(
|
)
|
|
DeregisterView(const MCoeView &)
void
|
DeregisterView
|
(
|
const
MCoeView
&
|
aView
|
)
|
|
DoActivationL(const TVwsViewId &, const TVwsViewId &, const TUid &, TInt)
void
|
DoActivationL
|
(
|
const
TVwsViewId
&
|
aViewId,
|
|
const
TVwsViewId
&
|
aPreviousViewId,
|
|
const
TUid
&
|
aCustomMessageId,
|
|
TInt
|
aCustomMessageLength
|
|
)
|
|
DoDeactivation(const TVwsViewId &, const TVwsViewId &, const TVwsViewEvent::TVwsViewEventType)
EnableExternalViewSwitches(TBool)
TInt
|
EnableExternalViewSwitches
|
(
|
TBool
|
aEnable
|
)
|
|
GetActiveViewId(TVwsViewId &)
GetDefaultViewId(TVwsViewId &)
GetSystemDefaultViewL(TVwsViewId &)
void
|
GetSystemDefaultViewL
|
(
|
TVwsViewId
&
|
aViewId
|
)
|
|
GetTopViewId(TVwsViewId &)
HandleScreenDeviceChangedL(const TVwsViewId &)
HandleViewActivationNotification(const TVwsViewId &, const TVwsViewId &)
void
|
HandleViewActivationNotification
|
(
|
const
TVwsViewId
&
|
aActiveViewId,
|
|
const
TVwsViewId
&
|
aViewToDeactivatedId
|
|
)
|
|
HandleViewDeactivationNotification(const TVwsViewId &, const TVwsViewId &)
void
|
HandleViewDeactivationNotification
|
(
|
const
TVwsViewId
&
|
aViewId,
|
|
const
TVwsViewId
&
|
aActiveViewId
|
|
)
|
|
HandleViewEventL(const TVwsViewEvent &)
IsViewConstructed(const TVwsViewId &)
NewL(CCoeEnv &, CCoeAppUi &, CCoeAppUi *)
NotifyNextActivation(const TVwsViewId &, MCoeViewActivationObserver &)
NotifyNextActivation(MCoeViewActivationObserver &)
NotifyNextDeactivation(const TVwsViewId &, MCoeViewDeactivationObserver &)
NotifyNextDeactivation(MCoeViewDeactivationObserver &)
RegisterApplicationViewL(const TUid &)
void
|
RegisterApplicationViewL
|
(
|
const
TUid
&
|
aAppUid
|
)
|
|
RegisterViewL(MCoeView &)
RemoveViewActivationObserver(MCoeViewActivationObserver *)
RemoveViewDeactivationObserver(MCoeViewDeactivationObserver *)
RemoveViewObserver(MCoeViewObserver *)
SetApplicationViewAsDefaultL()
void
|
SetApplicationViewAsDefaultL
|
(
|
)
|
|
SetCustomControl(const TInt)
void
|
SetCustomControl
|
(
|
const
TInt
|
aCustomControl
|
)
|
|
Parameters
const
TInt
aCustomControl
|
|
SetDefaultViewL(const MCoeView &)
void
|
SetDefaultViewL
|
(
|
const
MCoeView
&
|
aView
|
)
|
|
SetSystemDefaultViewL(const TVwsViewId &, TInt)
SetSystemDefaultViewL(const TVwsViewId &)
void
|
SetSystemDefaultViewL
|
(
|
const
TVwsViewId
&
|
aViewId
|
)
|
|
SetWindowGroupOrdinal(const TInt)
void
|
SetWindowGroupOrdinal
|
(
|
const
TInt
|
aWindowGroupOrdinal
|
)
|
|
Parameters
const
TInt
aWindowGroupOrdinal
|
|
UpdateViewServerBackgroundColor(const TRgb &)
void
|
UpdateViewServerBackgroundColor
|
(
|
const
TRgb
&
|
aBgColor
|
)
|
|
ViewIndex(const MCoeView &)
ViewIndex(const TVwsViewId &)
Member Data Documentation
TBool
iActivatingTopView
TBool
|
iActivatingTopView
|
[private]
|
TVwsViewId
iActivatingViewId
TInt
iActiveViewIndex
TInt
|
iActiveViewIndex
|
[private]
|
TVwsViewId
iApplicationViewId
TInt
iCustomControl
TInt
|
iCustomControl
|
[private]
|
TPtrC8
iCustomMessage
TPtrC8
|
iCustomMessage
|
[private]
|
TVwsViewId
iDefaultViewId
TVwsViewId
iLastActiveViewId
MCoeViewActivationObserver * iNextViewActivationObserver
MCoeViewDeactivationObserver * iNextViewDeactivationObserver
CCoeAppUi * iPreviousAppUi
TBool
iRegisteredApplicationView
TBool
|
iRegisteredApplicationView
|
[private]
|
CArrayPtrFlat< MCoeViewActivationObserver > iViewActivationObserverArray
CArrayPtrFlat< CCoeView > iViewArray
CArrayPtrFlat< MCoeViewDeactivationObserver > iViewDeactivationObserverArray
CCoeViewObserver * iViewObserver
CCoeViewObserver *
|
iViewObserver
|
[private]
|
CArrayPtrFlat< MCoeViewObserver > iViewObserverArray
CVwsSessionWrapper * iVwsSession
TInt
iWindowGroupOrdinal
TInt
|
iWindowGroupOrdinal
|
[private]
|
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.