API published in: S60 1st Ed
Link against: avkon.lib eikcore.lib
None
#include <aknenv.h>
CEikonEnv.
Every Avkon application is provided with an instance of CAvkEnv by the framework, which can be accessed through the iAvkonEnv macro.
Public Member Functions | |
| IMPORT_C | ~CAknEnv () |
| Destructor. | |
| IMPORT_C void | ExecuteEmptyPopupListL (const TDesC *aEmptyText=0) |
| Executes empty popup list. | |
| IMPORT_C void | ExecuteEmptyPopupListL (const TDesC *aEmptyText, const TDesC *aTitle, TInt aSoftkeyId=0) |
| Executes empty popup list. | |
| IMPORT_C void | SetFepMenuObserver (MEikMenuObserver *aObserver) |
| Set the FEP menu observer. | |
| IMPORT_C MEikMenuObserver * | FepMenuObserver () |
| Get the FEP menu observer. | |
| IMPORT_C MAknEditingStateIndicator * | EditingStateIndicator () |
| Get the editing state indicator. | |
| IMPORT_C MAknEditingStateIndicator * | SwapEditingStateIndicator (MAknEditingStateIndicator *aIndicator) |
| Swap the editing state indicator. | |
| IMPORT_C void | RegisterIntermediateStateL (MAknIntermediateState *aState) |
| Register the control implementing intermediate states. | |
| IMPORT_C void | UnRegisterIntermediateState (MAknIntermediateState *aState) |
| Unregister the control implementing intermediate states. | |
| IMPORT_C void | CloseAllIntermediateStates () |
| Closes all intermediate states as a low-priority process. | |
| IMPORT_C void | CreateCbaObserverL (CEikButtonGroupContainer *aCba, CEikListBox *aListBox) |
| Create CBA observer. | |
| IMPORT_C void | RemoveCbaObserver () |
| Remove CBA observer. | |
| IMPORT_C void | InformCbaDeletion (CEikButtonGroupContainer *aCba) |
| Remove CBA observer if the right one. | |
| IMPORT_C void | GetCurrentLayoutId (TAknLayoutId &aCurrentLayoutId) const |
| Get current layout ID. | |
| IMPORT_C void | GetCurrentGlobalUiZoom (TAknUiZoom &aCurrentGlobalUiZoom) const |
| Get current global zoom. | |
| IMPORT_C TInt | StatusPaneResIdForCurrentLayout (TInt aResId) const |
| Tells the type of status pane layout for UI. | |
| IMPORT_C TInt | RequestWsBuffer (TInt aRequestedBufferSize) |
| Requests Window Server client buffer used by the application to be of at least the given size. | |
| IMPORT_C void | CancelWsBufferRequest (TInt aRequestID) |
Cancels a request made by call RequestWsBuffer. | |
| IMPORT_C CAknSettingCache & | SettingCache () const |
| CAknFontRegistry & | FontRegistry () const |
| Access to the registry of CAknLayoutFont pointers. | |
| CArrayPtr< CAknSystemFont > * | SystemFontArray () const |
| Access to the system font array that is owned by CEikonEnv. | |
| void | UpdateSystemFontsL () |
| IMPORT_C TBool | LoadAknLayoutL () |
| Load an appropraite Avkon layout. | |
| IMPORT_C TBool | LoadAknLayoutL (const TAknLayoutConfigScreenMode &aScreenMode) |
| Load an appropriate Avkon layout for a particular screen mode. | |
| IMPORT_C const AknLayout::CInstance & | AknLayout () const |
| Accessor method to layout. | |
| IMPORT_C TBool | SplitViewActive () const |
| Checks if split view is active. | |
| void | SplitViewActive (const TBool aSplitViewActive) |
| Sets split view flag. | |
Static Public Member Functions | |
| static IMPORT_C CAknEnv * | Static () |
Gets the CAknEnv maintained by the framework for the application. | |
| static IMPORT_C void | ExitForegroundAppL () |
| Exit foreground application. | |
| static IMPORT_C void | RunAppShutter () |
| Run application shutter. | |
| static IMPORT_C CAknAppUi * | AppWithShutterRunning () |
| Get pointer to the most embedded application UI with Dialog Shutter running. | |
| static IMPORT_C void | StopSchedulerWaitWithBusyMessage (CActiveSchedulerWait &aWait) |
| Stop the scheduler. | |
| static IMPORT_C TRgb | AvkonColor (TInt) |
| Gets the TRgb value of the entry at the specified index in the colour lookup table. | |
Friends | |
| class | AknBidiTextUtils |
| class | TAknTextWrapper |
| class | LafEnv |
Data Structures | |
| struct | TWsBufferRequest |
|
|
Destructor. |
|
|
Accessor method to layout.
|
|
|
Get pointer to the most embedded application UI with Dialog Shutter running.
|
|
|
Gets the TRgb value of the entry at the specified index in the colour lookup table.
|
|
|
Cancels a request made by call This should be called in order to save RAM when higher than normal buffer size is no longer required.
|
|
|
Closes all intermediate states as a low-priority process. |
| ||||||||||||
|
Create CBA observer. The possible existing one is removed first.
|
|
|
Get the editing state indicator.
|
| ||||||||||||||||
|
Executes empty popup list.
|
|
|
Executes empty popup list.
|
|
|
Exit foreground application. |
|
|
Get the FEP menu observer.
|
|
|
Access to the registry of CAknLayoutFont pointers. Used for runtime checking of CFont pointers. |
|
|
Get current global zoom.
|
|
|
Get current layout ID.
|
|
|
Remove CBA observer if the right one.
|
|
|
Load an appropriate Avkon layout for a particular screen mode. Public since 3rd Ed FP1
|
|
|
Load an appropraite Avkon layout. Public Since 3rd Ed FP1
|
|
|
Register the control implementing intermediate states.
Call
|
|
|
Remove CBA observer. |
|
|
Requests Window Server client buffer used by the application to be of at least the given size. All code that wants to increase (to avoid flicker) or decrease (to save RAM) the buffer compared to the default size should call this method instead of using WS interface directly. A list of all requests is maintained and the highest request is always effective. Only if there are no requests done, the default buffer size is used.
|
|
|
Run application shutter. |
|
|
Set the FEP menu observer.
|
|
|
|
Sets split view flag.
|
|
|
Checks if split view is active.
|
|
|
Gets the
Compare This function should never be run in a thread where such a static Avkon environment does not exist. Code that may run on the server side of an application server is one such case.
|
|
|
Tells the type of status pane layout for UI.
|
|
|
Stop the scheduler. If the waiting control can't stop the scheduler immediately, then trying to show a busy note.
|
|
|
Swap the editing state indicator.
|
|
|
Access to the system font array that is owned by CEikonEnv. The member accessed by this is set during CEikonEnv construction and may be null during application startup. |
|
|
Unregister the control implementing intermediate states.
Call
|
|
|
|
|