API published in: S60 1st Ed
Link against: avkon.lib eikcore.lib eiksrv.lib
Required Capabilities
None
#include <aknappui.h>
Inherited by CAknAppUi.
Public Types |
|
enum | TAppUiOrientation { EAppUiOrientationUnspecified, EAppUiOrientationPortrait, EAppUiOrientationLandscape, EAppUiOrientationAutomatic } |
enum | { EAknEnableSkin = EAknEnableSkinFlag, EAppOrientationPortrait = EAppOrientationSpecifiedFlag, EAppOrientationLandscape, EAppOrientationAutomatic, EAknDisableHighlightAnimation = EAknDisableHighlightAnimationFlag, EAknEnableMSK = EAknEnableMSKflag, EAknExplicitStartupEffectCompletion = EAknExplicitStartupEffectCompletionFlag } |
Public Member Functions |
|
IMPORT_C | ~CAknAppUiBase () |
Destructor. |
|
IMPORT_C | CAknAppUiBase () |
C++ Default constructor. |
|
IMPORT_C void | BaseConstructL (TInt aAppUiFlags) |
Initialises this Avkon base app UI with standard values. |
|
IMPORT_C void | HandleForegroundEventL (TBool aForeground) |
Handles changes in keyboard focus when an application switches to, or from, the foreground. |
|
IMPORT_C void | ConstructL () |
From CEikAppUi . |
|
IMPORT_C void | Exit () |
From CEikAppUi . |
|
IMPORT_C void | SetFadedL (TBool aFaded) |
From CEikAppUi . |
|
IMPORT_C void | HandleResourceChangeL (TInt aType) |
From CEikAppUi . |
|
IMPORT_C TRect | ApplicationRect () const |
From CEikAppUi . |
|
IMPORT_C void | PrepareToExit () |
From CCoeAppUiBase . |
|
IMPORT_C TBool | IsFaded () const |
Determines whether the system is faded. |
|
IMPORT_C CAknWsEventMonitor * | EventMonitor () const |
Returns the object which allows events to be spyed upon in addition to normal event handling. |
|
IMPORT_C CAknKeySoundSystem * | KeySounds () const |
Gets a pointer to KeySound API object. |
|
IMPORT_C TBool | IsFullScreenApp () const |
Determines whether the application is full screen application. |
|
IMPORT_C TBool | IsLayoutAwareApp () const |
Determines whether the application is layout aware. |
|
TBool | IsMSKEnabledApp () const |
Determines whether the application has MSK enabled. |
|
TBool | IsAppClosing () const |
Determines whether the application is closing. |
|
IMPORT_C void | SetLayoutAwareApp (TBool aLayoutAwareApp) |
Set application layout aware. |
|
IMPORT_C TBool | IsForeground () const |
Determines whether the application is foreground. |
|
IMPORT_C TBool | IsPartialForeground () const |
Determines whether the application is partially foreground. |
|
IMPORT_C TAppUiOrientation | Orientation () const |
Gets the application screen orientation. |
|
IMPORT_C TBool | OrientationCanBeChanged () const |
Tests whether it is possible for this app to have a practical effect on the screen orientation, through SetOrientationL(). |
|
IMPORT_C void | SetOrientationL (TAppUiOrientation aOrientation) |
Sets the application screen orientation. |
|
TInt | FindAppWgIdBelowMeL () |
Find the window group ID of the application below this application. |
|
TInt | EventForForegroundState (TBool aPartialFg, TBool aForeground) |
Simply return KEikPartialForeground if aPartialFg == ETrue , otherwise if aForeground == ETrue then return EEventFocusGained else return EEventFocusLost . |
|
TBool | ThreadIsForeground () const |
Determines whether the thread owning this application window group is foreground. |
|
void | SimulateWsEventL (TInt aEvent) |
Simulates an event being received from wserv. |
|
IMPORT_C TAknUiZoom | LocalUiZoom () const |
Gets the application local zoom. |
|
IMPORT_C void | SetLocalUiZoom (TAknUiZoom aZoom) |
Sets the application local zoom. |
|
IMPORT_C void | ApplyLayoutChangeL (TBool aReportChange) |
TBool | HasFullOrPartialForeground () const |
Checks if application UI has full or partial foreground status. |
|
void | SetScreenModeL (TInt aModeNumber) |
TInt | ScreenMode () const |
Protected Member Functions |
|
virtual IMPORT_C void | HandleScreenDeviceChangedL () |
From CCoeAppUiBase . |
|
virtual IMPORT_C void | HandleApplicationSpecificEventL (TInt aType, const TWsEvent &aEvent) |
From CCoeAppUi . |
|
IMPORT_C void | SetFullScreenApp (TBool aIsFullScreen) |
Set the application to be a full screen application. |
|
IMPORT_C void | ReplaceKeySoundsL (TInt aUid) |
Replace current key sound server with new one. |
|
virtual IMPORT_C TTypeUid::Ptr | MopSupplyObject (TTypeUid aId) |
Friends |
|
class | CAknAppUi |
|
|
|
|
Destructor. |
|
C++ Default constructor. |
|
From 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.
|
|
|
Initialises this Avkon base app UI with standard values.
Reimplemented in CAknAppUi, and CAknViewAppUi. |
|
From
Completes construction. The implementation of Reimplemented in CAknAppUi. |
|
Simply return
|
|
Returns the object which allows events to be spyed upon in addition to normal event handling.
|
|
From Closes the app UI. |
|
Find the window group ID of the application below this application.
|
|
From Handles an application specific event.
|
|
Handles changes in keyboard focus when an application switches to, or from, the foreground.
This function calls
Reimplemented in CAknAppUi, and CAknViewAppUi. |
|
From
Handles a change to the application's resources which are shared across the environment. This function calls
|
|
From Calls CCoeAppUi::HandleScreenDeviceChangedL(). |
|
Checks if application UI has full or partial foreground status.
|
|
Determines whether the application is closing. In practice this means that CEikonEnv has been destroyed.
|
|
Determines whether the system is faded.
|
|
Determines whether the application is foreground.
|
|
Determines whether the application is full screen application.
|
|
Determines whether the application is layout aware.
|
|
Determines whether the application has MSK enabled.
|
|
Determines whether the application is partially foreground.
|
|
Gets a pointer to KeySound API object.
|
|
Gets the application local zoom.
|
|
|
Gets the application screen orientation.
|
|
Tests whether it is possible for this app to have a practical effect on the screen orientation, through SetOrientationL().
|
|
From
Performs pre-exit processing by calling Reimplemented in CAknAppUi. |
|
Replace current key sound server with new one.
|
|
|
From Sets whether the windows are faded.
|
|
Set the application to be a full screen application.
|
|
Set application layout aware.
|
|
Sets the application local zoom.
However, in order to have any effect, it may be necessary to make a subsequent call to
|
|
Sets the application screen orientation. Note: this API has no effect on non-full-screen app UIs.
|
|
|
Simulates an event being received from wserv.
|
|
Determines whether the thread owning this application window group is foreground.
|
|