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 TBool CheckCaps (const RMessagePtr2 &)
IMPORT_C TUid CrUid (const TUid &)
IMPORT_C TInt CrValue (const TUid &, TUint32 , TInt &)
IMPORT_C TInt CrValue (const TUid &, TUint32 , TDes &)
IMPORT_C TBool FeatureStatus (const TUid &)
IMPORT_C TUid FeatureUid (const TUid &)
IMPORT_C void GetCommandListPath ( TDes &)
IMPORT_C TInt GetCurrentState ( TSsmState &)
IMPORT_C TUid PsUid (const TUid &)

Member Functions Documentation

CheckCaps(const RMessagePtr2 &)

IMPORT_C TBool CheckCaps ( const RMessagePtr2 & aMessage ) [static]

Checks the capabilities of client

Client message

Parameters

const RMessagePtr2 & aMessage

CrUid(const TUid &)

IMPORT_C TUid CrUid ( const TUid & aUid ) [static]

Parameters

const TUid & aUid

CrValue(const TUid &, TUint32, TInt &)

IMPORT_C TInt CrValue ( const TUid & aUid,
TUint32 aKey,
TInt & aValue
) [static]

Gets the requested cenrep key's value

Parameters

const TUid & aUid Requested cenrep Uid
TUint32 aKey Requested cenrep key
TInt & aValue On return contains value of requested key

CrValue(const TUid &, TUint32, TDes &)

IMPORT_C TInt CrValue ( const TUid & aUid,
TUint32 aKey,
TDes & aValue
) [static]

Gets the requested cenrep key's value

Parameters

const TUid & aUid Requested cenrep Uid
TUint32 aKey Requested cenrep key
TDes & aValue On return contains value of requested key

FeatureStatus(const TUid &)

IMPORT_C TBool FeatureStatus ( const TUid & aUid ) [static]

Gets the requested feature Uid's status

Parameters

const TUid & aUid Requested feature Uid

FeatureUid(const TUid &)

IMPORT_C TUid FeatureUid ( const TUid & aUid ) [static]

Parameters

const TUid & aUid

GetCommandListPath(TDes &)

IMPORT_C void GetCommandListPath ( TDes & aCmdListPath ) [static]

Gets the path to command lists

Parameters

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

GetCurrentState(TSsmState &)

IMPORT_C TInt GetCurrentState ( TSsmState & aState ) [static]

Get the current system state

Parameters

TSsmState & aState On return contains the current state

PsUid(const TUid &)

IMPORT_C TUid PsUid ( const TUid & aUid ) [static]

Methods for mapping p&s, cenrep and feature Uids

Parameters

const TUid & aUid The Uid to map