#include <mw/aknappui.h>
class CAknAppUiBase : public CEikAppUi |
Protected Member Functions | |
---|---|
virtual IMPORT_C void | HandleApplicationSpecificEventL(TInt, const TWsEvent &) |
virtual IMPORT_C void | HandleScreenDeviceChangedL() |
virtual IMPORT_C TTypeUid::Ptr | MopSupplyObject(TTypeUid) |
IMPORT_C void | ReplaceKeySoundsL(TInt) |
IMPORT_C void | SetFullScreenApp(TBool) |
Inherited Attributes | |
---|---|
CCoeAppUi::iCoeEnv | |
CEikAppUi::iContainerAppUi | |
CEikAppUi::iDocument | |
CEikAppUi::iDoorObserver | |
CEikAppUi::iEmbeddedAndReadOnly | |
CEikAppUi::iFlags |
Inherited Enumerations | |
---|---|
CEikAppUi:@157 |
Abstract Avkon application UI base class
Enumerator | Value | Description |
---|---|---|
EAknEnableSkin | EAknEnableSkinFlag |
Flag indicating that default skin parameters should be provided by UI controls created within the scope of this AppUi instance. This value (or binary combination with some other values) should be given as a parameter to BaseConstructL in case the application wants to enable default skin parameters for all the Avkon controls supporting them. Note: The value can be queried by using AknsUtils::AvkonSkinEnabled() from AknSkins.lib.
|
EAppOrientationPortrait | EAppOrientationSpecifiedFlag | |
EAppOrientationLandscape | EAppOrientationSpecifiedFlag | EAppOrientationLandscapeFlag | |
EAppOrientationAutomatic | EAppOrientationSpecifiedFlag | EAppOrientationAutomaticFlag | |
EAknDisableHighlightAnimation | EAknDisableHighlightAnimationFlag | |
EAknEnableMSK | EAknEnableMSKflag | |
EAknExplicitStartupEffectCompletion | EAknExplicitStartupEffectCompletionFlag | |
EAknTouchCompatible | EAknTouchCompatibleFlag | |
EAknSingleClickCompatible | EAknSingleClickCompatibleFlag | |
EAknDisableAnimationBackground | EAknDisableAnimationBackgroundFlag |
IMPORT_C TRect | ApplicationRect | ( | ) | const [virtual] |
Reimplemented from CEikAppUi::ApplicationRect()const
From CEikAppUi. Gets the total area of the screen available to the application. This includes the space that is available for a toolbar, toolband or title band, if the application requires them.
Returns: The total area of the screen available to the application.
IMPORT_C void | BaseConstructL | ( | TInt | aAppUiFlags | ) |
Reimplemented from CEikAppUi::BaseConstructL(TInt)
Initialises this Avkon base app UI with standard values. aAppUiFlags values are common with CEikAppUi::BaseConstructL(aAppUiFlags).
Parameter | Description |
---|---|
aAppUiFlags | Application user interface flags. |
IMPORT_C void | ConstructL | ( | ) | [virtual] |
Reimplemented from CEikAppUi::ConstructL()
From CEikAppUi. Completes construction. The implementation of ConstructL() in CAknAppUiBase simply calls BaseConstructL().
IMPORT_C CAknWsEventMonitor * | EventMonitor | ( | ) | const |
Returns the object which allows events to be spyed upon in addition to normal event handling.
Returns: Pointer to window server event monitor object.
TInt | FindAppWgIdBelowMeL | ( | ) |
Find the window group ID of the application below this application.
Returns: the window group ID of the application below this application.
IMPORT_C void | HandleApplicationSpecificEventL | ( | TInt | aType, |
const TWsEvent & | aEvent | |||
) | [protected, virtual] |
Reimplemented from CEikAppUi::HandleApplicationSpecificEventL(TInt,const TWsEvent &)
From CCoeAppUi. Handles an application specific event.
Parameter | Description |
---|---|
aType | The type of the event that occurred. This should be a unique identifier constant. |
aEvent | The window server event that occurred. |
IMPORT_C void | HandleForegroundEventL | ( | TBool | aForeground | ) | [virtual] |
Reimplemented from CEikAppUi::HandleForegroundEventL(TBool)
Handles changes in keyboard focus when an application switches to, or from, the foreground. This function calls CEikAppUi::HandleForegroundEventL.
Parameter | Description |
---|---|
aForeground | ETrue if the application is in the foreground, otherwise EFalse. |
IMPORT_C void | HandleResourceChangeL | ( | TInt | aType | ) | [virtual] |
Reimplemented from CEikAppUi::HandleResourceChangeL(TInt)
From CEikAppUi. Handles a change to the application's resources which are shared across the environment. This function calls CEikAppUi::HandleResourceChangeL except when aType is KEikDynamicLayoutVariantSwitch.
Parameter | Description |
---|---|
aType | The type of resources that have changed. |
IMPORT_C void | HandleScreenDeviceChangedL | ( | ) | [protected, virtual] |
Reimplemented from CEikAppUi::HandleScreenDeviceChangedL()
From CCoeAppUiBase. Calls CCoeAppUi::HandleScreenDeviceChangedL().
TBool | HasFullOrPartialForeground | ( | ) | const |
Returns: ETrue if application UI has full or partial foreground status. Otherwise EFalse.
IMPORT_C TBool | IsFaded | ( | ) | const |
Determines whether the system is faded.
Returns: ETrue if system is faded
IMPORT_C TBool | IsForeground | ( | ) | const |
Determines whether the application is foreground.
Returns: ETrue if the application is foreground.
IMPORT_C TBool | IsFullScreenApp | ( | ) | const |
Determines whether the application is full screen application.
Returns: ETrue if the application is full screen application.
IMPORT_C TBool | IsLayoutAwareApp | ( | ) | const |
Determines whether the application is layout aware.
Returns: ETrue if the application is layout aware.
TBool | IsMSKEnabledApp | ( | ) | const |
Returns: ETrue if the application has MSK enabled.
IMPORT_C TBool | IsPartialForeground | ( | ) | const |
Determines whether the application is partially foreground.
Returns: ETrue if the application is partially foreground.
IMPORT_C TBool | IsSingleClickCompatible | ( | ) | const |
Checks if the application is single click compatible i.e. it has been constructed with the flag EAknSingleClickCompatible.
Returns: ETrue if the application is single click compatible
IMPORT_C TBool | IsTouchCompatible | ( | ) | const |
Checks if the application is touch compatible i.e. it has been constructed with the flag EAknTouchCompatible.
Returns: ETrue if the application is touch compatible
IMPORT_C CAknKeySoundSystem * | KeySounds | ( | ) | const |
Gets a pointer to KeySound API object.
Returns: Pointer to KeySound API object.
IMPORT_C TAknUiZoom | LocalUiZoom | ( | ) | const |
Returns: Application local zoom
IMPORT_C TTypeUid::Ptr | MopSupplyObject | ( | TTypeUid | aId | ) | [protected, virtual] |
Reimplemented from CEikAppUi::MopSupplyObject(TTypeUid)
IMPORT_C TAppUiOrientation | Orientation | ( | ) | const |
Gets the application screen orientation.
Returns: Application screen orientation.
IMPORT_C TBool | OrientationCanBeChanged | ( | ) | const |
Returns: ETrue if SetOrientationL can change the orientation, EFalse otherwise.
IMPORT_C CAknPointerEventModifier * | PointerEventModifier | ( | ) |
Returns a pointer to appui's pointer event modifier. This method is intended for internal usage only.
Returns: pointer event modifier
IMPORT_C void | PrepareToExit | ( | ) | [virtual] |
Reimplemented from CEikAppUi::PrepareToExit()
From CCoeAppUiBase. Performs pre-exit processing by calling CEikAppUi::PrepareToExit() to ensure the application will exit cleanly.
IMPORT_C void | ReplaceKeySoundsL | ( | TInt | aUid | ) | [protected] |
Replace current key sound server with new one.
Parameter | Description |
---|---|
aUid | ID of the new key sound server. |
IMPORT_C void | SetFadedL | ( | TBool | aFaded | ) | [virtual] |
Reimplemented from CEikAppUi::SetFadedL(TBool)
From CEikAppUi. Sets whether the windows are faded.
Parameter | Description |
---|---|
aFaded | ETrue if windows are faded, otherwise windows are unfaded. |
IMPORT_C void | SetFullScreenApp | ( | TBool | aIsFullScreen | ) | [protected] |
Set the application to be a full screen application.
Parameter | Description |
---|---|
aIsFullScreen | is ETrue if the application is a full screen application, EFlase otherwise. |
IMPORT_C void | SetKeyEventFlags | ( | const TInt | aFlags | ) |
Parameter | Description |
---|---|
aFlags | which can be a combination of flags declared in enumeration TKeyEventFlag |
IMPORT_C void | SetLayoutAwareApp | ( | TBool | aLayoutAwareApp | ) |
Set application layout aware.
Parameter | Description |
---|---|
aLayoutAwareApp | ETrue if the application is layout aware, EFlase otherwise. |
IMPORT_C void | SetLocalUiZoom | ( | TAknUiZoom | aZoom | ) |
Sets the application local zoom. However, in order to have any effect, it may be necessary to make a subsequent call to ApplyLayoutChangeL.
Parameter | Description |
---|---|
aZoom | application local zoom |
IMPORT_C void | SetOrientationL | ( | TAppUiOrientation | aOrientation | ) |
Sets the application screen orientation. Note: this API has no effect on non-full-screen app UIs.
Parameter | Description |
---|---|
aOrientation | application screen orientation. |
void | SimulateWsEventL | ( | TInt | aEvent | ) |
Simulates an event being received from wserv
Parameter | Description |
---|---|
aEvent | the event id being simulated. |
TBool | ThreadIsForeground | ( | ) | const |
Determines whether the thread owning this application window group is foreground.
Returns: ETrue if the thread owning this application window group is foreground, EFlase otherwise.