CCoeAppUi provides functions for view registration and pseudo-view registration for the application identified by aAppUid. Registering allows a view to participate in the view activities, such as activation, deactivation and their notifications in the View Server.
The following code snippet shows registering a view:
CNewView* iViewId = new( ELeave ) CNewView ( TVwsViewId( 0xA,0x1 ), iCCoeAppUi ); CleanupStack::PushL( iViewId ); iCCoeAppUi->RegisterViewL( iViewId );