class CCoeAppUi : public CBase |
Application user interface (app UI) base class.
The app UI's responsibilities include owning the application's control stack and views, handling user commands, (see the derived class CEikAppUi), and handling events sent by the OS to the application, for instance being brought to the foreground.
The UI framework class CEikAppUi is derived from this class. UIs may derive further to add their own UI-specific features to the app UI; each application must derive its own concrete app UI class from this.
Protected Member Functions | |
---|---|
IMPORT_C void | HandleScreenDeviceChangedL() |
Private Member Functions | |
---|---|
IMPORT_C void | CCoeAppUi_Reserved_2() |
void | DoAddToStackL(CCoeControlStack *, CCoeControl *, TInt, TInt) |
void | DoAddToStackL(CCoeControlStack *, CCoeControl *, TInt, TInt, TInt) |
void | DoRemoveFromStack(CCoeControlStack *, CCoeControl *, TRemoveCondition) |
void | DoUpdateStackedControlFlags(CCoeControlStack *, CCoeControl *, TInt, TInt) |
TInt | FindPos(CCoeControlStack *, CCoeControl *) |
IMPORT_C void | HandleApplicationSpecificEventL(TInt, const TWsEvent &) |
IMPORT_C void | HandleForegroundEventL(TBool) |
IMPORT_C TKeyResponse | HandleKeyEventL(const TKeyEvent &, TEventCode) |
IMPORT_C void | HandleSwitchOnEventL(CCoeControl *) |
IMPORT_C void | HandleSystemEventL(const TWsEvent &) |
IMPORT_C CArrayFix< TCoeHelpContext > * | HelpContextL() |
IMPORT_C void | SetAndDrawFocus(TBool) |
void | SetFocusToControl(CCoeControl *, TBool) |
CCoeControl * | TopFocusableControl() |
Private Member Enumerations | |
---|---|
enum | TRemoveCondition { ERemoveUnconditionally, ERemoveOnlyIfSharable } |
Protected Attributes | |
---|---|
CCoeEnv * | iCoeEnv |
Private Attributes | |
---|---|
TInt | iCCoeAppUi_Reserved1 |
CExtra * | iExtra |
CCoeControlStack * | iStack |
CCoeViewManager * | iViewManager |
IMPORT_C void | ActivateViewL | ( | const TVwsViewId & | aViewId | ) |
const TVwsViewId & aViewId |
IMPORT_C void | ActivateViewL | ( | const TVwsViewId & | aViewId, |
TUid | aCustomMessageId, | |||
const TDesC8 & | aCustomMessage | |||
) |
const TVwsViewId & aViewId | |
TUid aCustomMessageId | |
const TDesC8 & aCustomMessage |
IMPORT_C void | AddToStackL | ( | const MCoeView & | aView, |
CCoeControl * | aControl, | |||
TInt | aPriority = ECoeStackPriorityDefault, | |||
TInt | aStackingFlags = ECoeStackFlagStandard | |||
) |
const MCoeView & aView | |
CCoeControl * aControl | |
TInt aPriority = ECoeStackPriorityDefault | |
TInt aStackingFlags = ECoeStackFlagStandard |
IMPORT_C void | AddToStackL | ( | CCoeControl * | aControl, |
TInt | aPriority = ECoeStackPriorityDefault, | |||
TInt | aStackingFlags = ECoeStackFlagStandard | |||
) |
CCoeControl * aControl | |
TInt aPriority = ECoeStackPriorityDefault | |
TInt aStackingFlags = ECoeStackFlagStandard |
IMPORT_C void | AddToViewStackL | ( | const MCoeView & | aView, |
CCoeControl * | aControl, | |||
TInt | aPriority = ECoeStackPriorityDefault, | |||
TInt | aStackingFlags = ECoeStackFlagStandard | |||
) |
const MCoeView & aView | |
CCoeControl * aControl | |
TInt aPriority = ECoeStackPriorityDefault | |
TInt aStackingFlags = ECoeStackFlagStandard |
IMPORT_C void | AddViewActivationObserverL | ( | MCoeViewActivationObserver * | aViewActivationObserver | ) |
MCoeViewActivationObserver * aViewActivationObserver |
IMPORT_C void | AddViewDeactivationObserverL | ( | MCoeViewDeactivationObserver * | aViewDeactivationObserver | ) |
MCoeViewDeactivationObserver * aViewDeactivationObserver |
IMPORT_C void | AddViewObserverL | ( | MCoeViewObserver * | aViewObserver | ) |
MCoeViewObserver * aViewObserver |
IMPORT_C TBool | CheckSourceOfViewSwitchL | ( | const TSecurityPolicy & | aSecurityPolicy, |
const char * | aDiagnostic = NULL | |||
) | const |
const TSecurityPolicy & aSecurityPolicy | |
const char * aDiagnostic = NULL |
IMPORT_C void | ConstructL | ( | CCoeAppUi * | aPrevious = NULL | ) |
CCoeAppUi * aPrevious = NULL |
IMPORT_C void | CreateActivateViewEventL | ( | const TVwsViewId & | aViewId, |
TUid | aCustomMessageId, | |||
const TDesC8 & | aCustomMessage | |||
) |
const TVwsViewId & aViewId | |
TUid aCustomMessageId | |
const TDesC8 & aCustomMessage |
IMPORT_C void | DeregisterView | ( | const MCoeView & | aView | ) |
const MCoeView & aView |
IMPORT_C void | DeregisterViewAndRemoveStack | ( | const MCoeView & | aView | ) |
const MCoeView & aView |
void | DoAddToStackL | ( | CCoeControlStack * | aStack, |
CCoeControl * | aControl, | |||
TInt | aPriority, | |||
TInt | aStackingFlags | |||
) | [private] |
CCoeControlStack * aStack | |
CCoeControl * aControl | |
TInt aPriority | |
TInt aStackingFlags |
void | DoAddToStackL | ( | CCoeControlStack * | aStack, |
CCoeControl * | aControl, | |||
TInt | aPriority, | |||
TInt | aStackingFlags, | |||
TInt | aGroupId | |||
) | [private] |
CCoeControlStack * aStack | |
CCoeControl * aControl | |
TInt aPriority | |
TInt aStackingFlags | |
TInt aGroupId |
void | DoRemoveFromStack | ( | CCoeControlStack * | aStack, |
CCoeControl * | aControl, | |||
TRemoveCondition | aRemoveCondition = ERemoveUnconditionally | |||
) | [private] |
CCoeControlStack * aStack | |
CCoeControl * aControl | |
TRemoveCondition aRemoveCondition = ERemoveUnconditionally |
void | DoUpdateStackedControlFlags | ( | CCoeControlStack * | aStack, |
CCoeControl * | aControl, | |||
TInt | aFlags, | |||
TInt | aMask | |||
) | [private] |
CCoeControlStack * aStack | |
CCoeControl * aControl | |
TInt aFlags | |
TInt aMask |
IMPORT_C TInt | EnableExternalViewSwitches | ( | TBool | aEnable | ) |
TBool aEnable |
TInt | FindPos | ( | CCoeControlStack * | aStack, |
CCoeControl * | aControl | |||
) | const [private] |
CCoeControlStack * aStack | |
CCoeControl * aControl |
IMPORT_C TInt | GetActiveViewId | ( | TVwsViewId & | aViewId | ) | const |
TVwsViewId & aViewId |
IMPORT_C TInt | GetDefaultViewId | ( | TVwsViewId & | aViewId | ) | const |
TVwsViewId & aViewId |
IMPORT_C void | GetSystemDefaultViewL | ( | TVwsViewId & | aViewId | ) |
TVwsViewId & aViewId |
IMPORT_C TInt | GetTopViewId | ( | TVwsViewId & | aViewId | ) | const |
TVwsViewId & aViewId |
IMPORT_C void | HandleApplicationSpecificEventL | ( | TInt | aType, |
const TWsEvent & | aEvent | |||
) | [private, virtual] |
IMPORT_C void | HandleForegroundEventL | ( | TBool | aForeground | ) | [private, virtual] |
TBool aForeground |
IMPORT_C TKeyResponse | HandleKeyEventL | ( | const TKeyEvent & | aKeyEvent, |
TEventCode | aType | |||
) | [private, virtual] |
const TKeyEvent & aKeyEvent | |
TEventCode aType |
IMPORT_C void | HandleStackedControlsResourceChange | ( | TInt | aType | ) |
TInt aType |
IMPORT_C void | HandleSwitchOnEventL | ( | CCoeControl * | aDestination | ) | [private, virtual] |
CCoeControl * aDestination |
IMPORT_C void | HandleSystemEventL | ( | const TWsEvent & | aEvent | ) | [private, virtual] |
const TWsEvent & aEvent |
IMPORT_C void | HandleWsEventL | ( | const TWsEvent & | aEvent, |
CCoeControl * | aDestination | |||
) | [virtual] |
const TWsEvent & aEvent | |
CCoeControl * aDestination |
TBool | IsControlOnStack | ( | CCoeControl * | aControl | ) | const |
CCoeControl * aControl |
IMPORT_C TBool | IsDisplayingControlBetweenPriorities | ( | TInt | aLowerPriority, |
TInt | aHigherPriority | |||
) | const |
IMPORT_C TBool | IsViewConstructed | ( | const TVwsViewId & | aViewId | ) | const |
const TVwsViewId & aViewId |
void | MonitorWsEvent | ( | const TWsEvent & | aEvent | ) |
Monitor function for passing all windows events to registered monitor observers for optional inspection
const TWsEvent & aEvent |
void | NotifyFontChange | ( | const CCoeFontProvider & | aFontProvider | ) |
const CCoeFontProvider & aFontProvider |
IMPORT_C void | NotifyNextActivation | ( | const TVwsViewId & | aViewId, |
MCoeViewActivationObserver & | aViewActivationObserver | |||
) |
const TVwsViewId & aViewId | |
MCoeViewActivationObserver & aViewActivationObserver |
IMPORT_C void | NotifyNextActivation | ( | MCoeViewActivationObserver & | aViewActivationObserver | ) |
MCoeViewActivationObserver & aViewActivationObserver |
IMPORT_C void | NotifyNextDeactivation | ( | const TVwsViewId & | aViewId, |
MCoeViewDeactivationObserver & | aViewDeactivationObserver | |||
) |
const TVwsViewId & aViewId | |
MCoeViewDeactivationObserver & aViewDeactivationObserver |
IMPORT_C void | NotifyNextDeactivation | ( | MCoeViewDeactivationObserver & | aViewDeactivationObserver | ) |
MCoeViewDeactivationObserver & aViewDeactivationObserver |
IMPORT_C void | RegisterApplicationViewL | ( | TUid | aAppUid | ) |
TUid aAppUid |
IMPORT_C void | RegisterViewAndAddStackL | ( | MCoeView & | aView | ) |
MCoeView & aView |
IMPORT_C void | RemoveFromStack | ( | CCoeControl * | aControl | ) |
CCoeControl * aControl |
IMPORT_C void | RemoveFromViewStack | ( | const MCoeView & | aView, |
CCoeControl * | aControl | |||
) |
const MCoeView & aView | |
CCoeControl * aControl |
IMPORT_C void | RemoveViewActivationObserver | ( | MCoeViewActivationObserver * | aViewActivationObserver | ) |
MCoeViewActivationObserver * aViewActivationObserver |
IMPORT_C void | RemoveViewDeactivationObserver | ( | MCoeViewDeactivationObserver * | aViewDeactivationObserver | ) |
MCoeViewDeactivationObserver * aViewDeactivationObserver |
IMPORT_C void | RemoveViewObserver | ( | MCoeViewObserver * | aViewObserver | ) |
MCoeViewObserver * aViewObserver |
IMPORT_C void | SetAndDrawFocus | ( | TBool | aFocus | ) | [private, virtual] |
TBool aFocus |
void | SetCurrentControlStackGroupId | ( | TInt | aGroupId | ) |
TInt aGroupId |
IMPORT_C void | SetCustomControl | ( | TInt | aCustomControl | ) |
TInt aCustomControl |
IMPORT_C void | SetDefaultViewL | ( | const MCoeView & | aView | ) |
const MCoeView & aView |
void | SetFocusToControl | ( | CCoeControl * | aControl, |
TBool | aFocus | |||
) | [private] |
CCoeControl * aControl | |
TBool aFocus |
IMPORT_C void | SetSystemDefaultViewL | ( | const TVwsViewId & | aViewId, |
TInt | aMode | |||
) |
const TVwsViewId & aViewId | |
TInt aMode |
IMPORT_C void | SetSystemDefaultViewL | ( | const TVwsViewId & | aViewId | ) |
const TVwsViewId & aViewId |
IMPORT_C void | SetWindowGroupOrdinal | ( | TInt | aWindowGroupOrdinal | ) |
TInt aWindowGroupOrdinal |
IMPORT_C void | UpdateStackedControlFlags | ( | CCoeControl * | aControl, |
TInt | aFlags, | |||
TInt | aMask | |||
) |
CCoeControl * aControl | |
TInt aFlags | |
TInt aMask |
IMPORT_C void | UpdateViewServerBackgroundColor | ( | const TRgb & | aBgColor | ) |
const TRgb & aBgColor |
IMPORT_C void | UpdateViewStackedControlFlags | ( | const MCoeView & | aView, |
CCoeControl * | aControl, | |||
TInt | aFlags, | |||
TInt | aMask | |||
) |
const MCoeView & aView | |
CCoeControl * aControl | |
TInt aFlags | |
TInt aMask |
IMPORT_C void | WriteInternalStateOfStackedControlsL | ( | RWriteStream & | aWriteStream | ) | const |
RWriteStream & aWriteStream |