API published in: S60 1st Ed
Link against: avkon.lib eikcore.lib eiksrv.lib
Required Capabilities
None
#include <aknviewappui.h>
Inherits CAknAppUi.
Public Types |
|
typedef CArrayPtrFlat< CViewActivationItem > | CAknViewActivationQueue |
typedef CArrayPtrFlat< CAknView > | CAknViews |
Public Member Functions |
|
IMPORT_C void | BaseConstructL (TInt aAppUiFlags=EStandardApp) |
Initialises this app UI with standard values. |
|
virtual IMPORT_C | ~CAknViewAppUi () |
Destructor. |
|
IMPORT_C void | ActivateLocalViewL (TUid aViewId) |
Activates a specified application view, without passing any message. |
|
IMPORT_C void | ActivateLocalViewL (TUid aViewId, TUid aCustomMessageId, const TDesC8 &aCustomMessage) |
Activates a specified application view, then passes the message text descriptor aCustomMessage for a message of type aCustomMessageId.
|
|
IMPORT_C CAknView * | View (TUid aView) const |
Gets a pointer to specified application view. |
|
IMPORT_C void | AddViewL (CAknView *aView) |
Registers and adds the view to the app UI. |
|
IMPORT_C void | RemoveView (TUid aViewId) |
Removes and deregisteres the view from the app UI. |
|
IMPORT_C void | ProcessCommandL (TInt aCommand) |
Processes user commands. |
|
IMPORT_C void | StopDisplayingMenuBar () |
Stops displaying the application’s menu bar. |
|
void | ViewActivatedL (CAknView *aView, const TVwsViewId &aPrevViewId, TUid aCustomMessageId, const TDesC8 &aCustomMessage) |
void | ViewDeactivated (CAknView *aView) |
IMPORT_C void | SetSplitViewL (const TUid aView1Id, const TUid aView2Id, const TInt aLeftViewSize) |
Combines two views. |
|
IMPORT_C void | RemoveSplitViewL (const TUid aViewId) |
Removes a view combination containing the given view UID. |
|
IMPORT_C TBool | SplitViewActive () const |
Checks if split view is in use. |
|
IMPORT_C TUid | FocusedView () const |
Returns the currently focused view. |
|
IMPORT_C TBool | ViewShown (const TUid aViewId) const |
Checks if the given view is visible on the screen. |
|
IMPORT_C void | EnableLocalScreenClearer (TBool aEnable=ETrue) |
Enables/disables local screen clearer. |
|
TRect | ViewRect (const TUid aViewId) const |
Returns view's rectangle. |
|
TKeyResponse | HandleViewNavigationL (const TKeyEvent &aKeyEvent) |
Handles keyboard initiated navigation between visible split views. |
|
Protected Member Functions |
|
IMPORT_C void | HandleStatusPaneSizeChange () |
From MEikStatusPaneObserver . |
|
IMPORT_C void | HandleForegroundEventL (TBool aForeground) |
From CCoeAppUi . |
|
IMPORT_C void | HandleWsEventL (const TWsEvent &aEvent, CCoeControl *aDestination) |
From AknAppUi. |
|
Protected Attributes |
|
CAknView * | iView |
CAknViews * | iViews |
Data Structures |
|
class | CViewActivationItem |
class | TAknSplitViewContainer |
Container class used to hold information about one split view. More... |
|
|
|
Destructor. |
|
Activates a specified application view, then passes the message text descriptor aCustomMessage for a message of type aCustomMessageId. The function leaves if activation of the view fails.
|
|
Activates a specified application view, without passing any message. The function leaves if activation of the view fails.
|
|
Registers and adds the view to the app UI.
This function calls
|
|
Initialises this app UI with standard values.
Reimplemented from CAknAppUi. |
|
Enables/disables local screen clearer. Local screen clearer is used in the view based applications to clear the application window if/when the view itself fails to do this. By default, the clearer is used. This function must be called before the BaseConstructL() to prevent the screen clearer on application start up.
|
|
Returns the currently focused view.
|
|
From Handles changes in keyboard focus when an application switches to foreground.
Reimplemented from CAknAppUi. |
|
From Handles a change in the position or size of the screen area occupied by the status pane. Reimplemented from CAknAppUi. |
|
Handles keyboard initiated navigation between visible split views.
|
|
From AknAppUi. Handles pointer-initiated view switch. Currently this function does nothing but calls base class function.
Reimplemented from CAknAppUi. |
|
Processes user commands.
Reimplemented from CAknAppUi. |
|
Removes a view combination containing the given view UID. If the view with the given UID is currently visible then the screen is switched to single view and the the given view stays active.
|
|
Removes and deregisteres the view from the app UI.
This function calls
|
|
Combines two views. If either of the views belongs to another view combination then that combination is removed.
|
|
Checks if split view is in use.
|
|
Stops displaying the application’s menu bar. |
|
Gets a pointer to specified application view.
|
|
|
|
Returns view's rectangle.
|
|
Checks if the given view is visible on the screen.
|
|
|