SsmMapperUtility Class Reference

class SsmMapperUtility

Utility class for mapping Uids, getting feature and system states and cenrep values. This class contains static versions of the utilities provided by CSSmMapperUtility. Use static functions provided here sparingly, because each function creates own instance of CSSmMapperUtility.

Public Member Functions
IMPORT_C TBoolCheckCaps(const RMessagePtr2 &)
IMPORT_C TUidCrUid(const TUid &)
IMPORT_C TIntCrValue(const TUid &, TUint32, TInt &)
IMPORT_C TIntCrValue(const TUid &, TUint32, TDes &)
IMPORT_C TBoolFeatureStatus(const TUid &)
IMPORT_C TUidFeatureUid(const TUid &)
IMPORT_C voidGetCommandListPath(TDes &)
IMPORT_C TIntGetCurrentState(TSsmState &)
IMPORT_C TUidPsUid(const TUid &)

Member Functions Documentation

CheckCaps(const RMessagePtr2 &)

IMPORT_C TBoolCheckCaps(const RMessagePtr2 &aMessage)[static]

Checks the capabilities of client

Client message

Parameters

const RMessagePtr2 & aMessage

CrUid(const TUid &)

IMPORT_C TUidCrUid(const TUid &aUid)[static]

Parameters

const TUid & aUid

CrValue(const TUid &, TUint32, TInt &)

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

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
)[static]

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)[static]

Gets the requested feature Uid's status

Parameters

const TUid & aUidRequested feature Uid

FeatureUid(const TUid &)

IMPORT_C TUidFeatureUid(const TUid &aUid)[static]

Parameters

const TUid & aUid

GetCommandListPath(TDes &)

IMPORT_C voidGetCommandListPath(TDes &aCmdListPath)[static]

Gets the path to command lists

Parameters

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

GetCurrentState(TSsmState &)

IMPORT_C TIntGetCurrentState(TSsmState &aState)[static]

Get the current system state

Parameters

TSsmState & aStateOn return contains the current state

PsUid(const TUid &)

IMPORT_C TUidPsUid(const TUid &aUid)[static]

Methods for mapping p&s, cenrep and feature Uids

Parameters

const TUid & aUidThe Uid to map