API published in: S60 1st Ed
Link against: avkon.lib eikcore.lib eiksrv.lib
Required Capabilities
None
#include <aknappui.h>
Inherits CAknAppUiBase, MEikStatusPaneObserver, and MAknTouchPaneObserver.
Inherited by CAknViewAppUi.
Public Member Functions |
|
IMPORT_C void | BaseConstructL (TInt aAppUiFlags=EStandardApp) |
Initialises this Avkon app UI with standard values. |
|
IMPORT_C | ~CAknAppUi () |
Destructor. |
|
IMPORT_C void | ConstructL () |
From CEikAppUi . |
|
IMPORT_C CEikStatusPane * | StatusPane () |
Gets a pointer to the status pane. |
|
IMPORT_C CEikButtonGroupContainer * | Cba () |
Gets a pointer to the Command Button Area. |
|
IMPORT_C CAknTouchPane * | TouchPane () |
Gets a pointer to the touch pane. |
|
IMPORT_C CAknToolbar * | PopupToolbar () const |
Gets a pointer to the application toolbar. |
|
IMPORT_C CAknToolbar * | CurrentPopupToolbar () const |
Gets a pointer to the current toolbar( view toolbar is priority ). |
|
void | StopDisplayingPopupToolbar () |
Hides popup toolbar if it is visible. |
|
IMPORT_C void | ProcessCommandL (TInt aCommand) |
Processes user commands. |
|
IMPORT_C TErrorHandlerResponse | HandleError (TInt aError, const SExtendedError &aExtErr, TDes &aErrorText, TDes &aContextText) |
Handles errors. |
|
IMPORT_C void | RunAppShutter () |
Run the application shutter if it exists. |
|
IMPORT_C TBool | IsAppShutterRunning () const |
Determines whether the application shutter is active. |
|
virtual IMPORT_C void | HandleViewDeactivation (const TVwsViewId &aViewIdToBeDeactivated, const TVwsViewId &aNewlyActivatedViewId) |
From MCoeViewDeactivationObserver . |
|
IMPORT_C void | PrepareToExit () |
From CCoeAppUiBase . |
|
IMPORT_C void | HandleTouchPaneSizeChange () |
From . |
|
IMPORT_C void | HideApplicationFromFSW (TBool aHide=ETrue) |
Hide application from Fast-swap window. |
|
IMPORT_C void | GetAliasKeyCodeL (TUint &aCode, const TKeyEvent &aKeyEvent, TEventCode aType) |
Gets keyboard layout specific keycode. |
|
IMPORT_C void | SetAliasKeyCodeResolverL (MAknAliasKeyCodeResolver *aResolver) |
Sets custom resolver for keycode aliases Creates iExtension if it doesn't exist. |
|
IMPORT_C TInt32 | CaptureKey (TUint aKeycode, TUint aModifierMask, TUint aModifier) |
This is same as RWindowGroup::CaptureKey, except that this version takes S60 keymappings into account and captures the key
that produces requested aKeyCode according to S60 keymappings. |
|
IMPORT_C void | CaptureKeyL (TUint aKeycode, TUint aModifierMask, TUint aModifier, TInt32 &aHandle) |
This is same as RWindowGroup::CaptureKey, except that this version takes S60 keymappings into account and captures the key
that produces requested aKeyCode according to S60 keymappings. |
|
Protected Member Functions |
|
IMPORT_C void | HandleStatusPaneSizeChange () |
From MEikStatusPaneObserver . |
|
IMPORT_C void | HandleSystemEventL (const TWsEvent &aEvent) |
From CCoeAppUi . |
|
virtual IMPORT_C void | Reserved_MtsmPosition () |
virtual IMPORT_C void | Reserved_MtsmObject () |
IMPORT_C void | HandleForegroundEventL (TBool aForeground) |
Handles changes in keyboard focus when an application switches to, or from, the foreground. |
|
IMPORT_C void | HandleWsEventL (const TWsEvent &aEvent, CCoeControl *aDestination) |
Handles window server events. |
|
IMPORT_C void | SetKeyBlockMode (TAknKeyBlockMode aMode) |
Set key block mode. |
|
IMPORT_C void | HandleErrorL (TInt aError, HBufC **aErrorDesc, TBool aShowNote=ETrue) |
void | DecideWsClientBufferSizesL () |
Try to set window server buffer size to KAknDefaultWsBufferSize . |
|
Destructor. |
|
Initialises this Avkon app UI with standard values.
Reimplemented from CAknAppUiBase. Reimplemented in CAknViewAppUi. |
|
This is same as RWindowGroup::CaptureKey, except that this version takes S60 keymappings into account and captures the key that produces requested aKeyCode according to S60 keymappings. Standard RWindowgroup::CaptureKey functionality takes place before S60 AppUi framework and has no knowledge of S60 keymappings. Note: This method requires same capabilites as RWindowGroup::CaptureKey()
|
|
This is same as RWindowGroup::CaptureKey, except that this version takes S60 keymappings into account and captures the key that produces requested aKeyCode according to S60 keymappings. This version leaves instead of returning an error code. Standard RWindowgroup::CaptureKey functionality takes place before S60 AppUi framework and has no knowledge of S60 keymappings. Note: This method requires same capabilites as RWindowGroup::CaptureKey()
|
|
Gets a pointer to the Command Button Area.
|
|
From
Completes construction. The implementation of Reimplemented from CAknAppUiBase. |
|
Gets a pointer to the current toolbar( view toolbar is priority ).
|
|
Try to set window server buffer size to |
|
Gets keyboard layout specific keycode. Uses given resolver SetAliasKeyCodeResolverL() if set, by default fetches alternative code from avkon server.
|
|
Handles errors.
|
|
|
Handles changes in keyboard focus when an application switches to, or from, the foreground.
Reimplemented from CAknAppUiBase. Reimplemented in CAknViewAppUi. |
|
From Handles a change in the position or size of the screen area occupied by the status pane. Implements MEikStatusPaneObserver. Reimplemented in CAknViewAppUi. |
|
From Handles system events generated by the window server.
|
|
From . Handles a change in the size or position of touch pane. Implements MAknTouchPaneObserver. |
|
From
Handles the deactivation of the view identified by
|
|
Handles window server events.
Reimplemented in CAknViewAppUi. |
|
Hide application from Fast-swap window.
|
|
Determines whether the application shutter is active.
|
|
Gets a pointer to the application toolbar.
|
|
From Performs pre-exit processing to ensure the application will exit cleanly. Reimplemented from CAknAppUiBase. |
|
Processes user commands.
This function passes
Reimplemented in CAknViewAppUi. |
|
|
|
Run the application shutter if it exists. |
|
Sets custom resolver for keycode aliases Creates iExtension if it doesn't exist.
|
|
Set key block mode. In default mode, the S60 Developer Platform blocks simultaneous key presses.
|
|
Gets a pointer to the status pane.
|
|
Hides popup toolbar if it is visible. |
|
Gets a pointer to the touch pane.
|