class CESMRFeatureSettings : public CBase |
CESMRFeatureSettings is utility to access MRUI Features repository. Usage:
// instantiate settings CESMRFeatureSettings* setting = CESMRFeatureSettings::NewL() // query feature TBool locationFeatures = setting->FeatureSupported( EESMRUILocationFeatures ); if ( locationFeatures ) { // Do something feature specific } // free resources delete settings;
esmrcommon.lib
Public Member Functions | |
---|---|
~CESMRFeatureSettings() | |
IMPORT_C TBool | FeatureSupported(TUint) |
IMPORT_C CESMRFeatureSettings * | NewL() |
IMPORT_C CESMRFeatureSettings * | NewLC() |
Private Member Functions | |
---|---|
CESMRFeatureSettings() | |
void | ConstructL() |
TInt | MapFeature(TUint) |
Public Member Enumerations | |
---|---|
enum | TFeature { EESMRUIMnFwIntegration = 0x1, EESMRUIContactsIntegration = 0x2, EESMRUILandmarksIntegration = 0x4, EESMRUIPreviousLocationsList = 0x8, EESMRUILocationFeatures = 0xf, EMRUIMeetingRequestViewerCmailOnly = 0x10, EMRUIAllFeatures } |
Private Member Enumerations | |
---|---|
enum | TFeatureIndex { EESMRUIMnFwIntegrationIndex = 0, EESMRUIContactsIntegrationIndex, EESMRUILandmarksIntegrationIndex, EESMRUIPreviousLocationsListIndex, EMRUIMeetingRequestViewerCmailIndex, EESMRUINumFeatures } |
Private Attributes | |
---|---|
TInt | iFeatures |
IMPORT_C TBool | FeatureSupported | ( | TUint | aFeatures | ) | const |
Gets feature setting. The setting must be enumerated in CESMRFeatureSettings::TFeature enumeration. Multiple features can be queried at the same time by bitwise-oring the corresponding feature flags.
TUint aFeatures | the features. |
Feature setting flags.
EESMRUIMnFwIntegration = 0x1 |
Map and Navigation Fw support |
EESMRUIContactsIntegration = 0x2 |
Contacts support |
EESMRUILandmarksIntegration = 0x4 |
Landmarks application support |
EESMRUIPreviousLocationsList = 0x8 |
Previous locations list |
EESMRUILocationFeatures = 0xf |
Any of the previous location features |
EMRUIMeetingRequestViewerCmailOnly = 0x10 |
Meeting request viewer only for Cmail |
EMRUIAllFeatures |
Any of the prevuious features |
Feature index array for mapping features
EESMRUIMnFwIntegrationIndex = 0 | |
EESMRUIContactsIntegrationIndex | |
EESMRUILandmarksIntegrationIndex | |
EESMRUIPreviousLocationsListIndex | |
EMRUIMeetingRequestViewerCmailIndex | |
EESMRUINumFeatures |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.