CSsmMapperUtility Class Reference

class CSsmMapperUtility : public CBase

Utility class for mapping Uids, getting feature and system states and cenrep values.

Inherits from

Constructor & Destructor Documentation

CSsmMapperUtility()

IMPORT_CCSsmMapperUtility()

First phase constructor. Exported for deriver classes.

~CSsmMapperUtility()

IMPORT_C~CSsmMapperUtility()[virtual]

Destructor

Member Functions Documentation

CheckCaps(const RMessagePtr2 &)

TBool CheckCaps(const RMessagePtr2 &aMessage)[virtual]

Checks the capabilities of client

Client message

Parameters

const RMessagePtr2 & aMessage

ConstructL()

voidConstructL()[private]

Second phase of construction.

CrUid(const TUid &)

TUid CrUid(const TUid &aUid)[virtual]

Parameters

const TUid & aUid

CrValue(const TUid &, TUint32, TInt &)

IMPORT_C TIntCrValue(const TUid &aUid,
TUint32aKey,
TInt &aValue
)

Gets the requested cenrep key's value

Parameters

const TUid & aUidRequested cenrep Uid
TUint32 aKeyRequested cenrep key
TInt & aValueOn return contains value of requested key

CrValue(const TUid &, TUint32, TDes &)

IMPORT_C TIntCrValue(const TUid &aUid,
TUint32aKey,
TDes &aValue
)

Gets the requested cenrep key's value

Parameters

const TUid & aUidRequested cenrep Uid
TUint32 aKeyRequested cenrep key
TDes & aValueOn return contains value of requested key

FeatureStatus(const TUid &)

IMPORT_C TBoolFeatureStatus(const TUid &aUid)

Gets the requested feature Uid's status

Parameters

const TUid & aUidRequested feature Uid

FeatureUid(const TUid &)

TUid FeatureUid(const TUid &aUid)[virtual]

Parameters

const TUid & aUid

GetCommandListPath(TDes &)

voidGetCommandListPath(TDes &aCmdListPath)[virtual]

Gets the path to command lists

Parameters

TDes & aCmdListPathDefault path. Will be modified if called from test code.

GetCurrentState(TSsmState &)

TInt GetCurrentState(TSsmState &aState)const [virtual]

Get the current system state

Parameters

TSsmState & aStateOn return contains the current state

NewL()

IMPORT_C CSsmMapperUtility *NewL()[static]

Two-phased constructor. Clients of mapper utility should use this method for creating instance.

PsUid(const TUid &)

TUid PsUid(const TUid &aUid)[virtual]

Methods for mapping p&s, cenrep and feature Uids

Parameters

const TUid & aUidThe Uid to map

Member Data Documentation

CSsmMapperUtility * iExtension

CSsmMapperUtility *iExtension[private]

RLibrary iExtensionLib

RLibrary iExtensionLib[private]