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_C CSsmMapperUtility ( )

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()

void ConstructL ( ) [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 TInt CrValue ( const TUid & aUid,
TUint32 aKey,
TInt & aValue
)

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
)

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 )

Gets the requested feature Uid's status

Parameters

const TUid & aUid Requested feature Uid

FeatureUid(const TUid &)

TUid FeatureUid ( const TUid & aUid ) [virtual]

Parameters

const TUid & aUid

GetCommandListPath(TDes &)

void GetCommandListPath ( TDes & aCmdListPath ) [virtual]

Gets the path to command lists

Parameters

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

GetCurrentState(TSsmState &)

TInt GetCurrentState ( TSsmState & aState ) const [virtual]

Get the current system state

Parameters

TSsmState & aState On 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 & aUid The Uid to map

Member Data Documentation

CSsmMapperUtility * iExtension

CSsmMapperUtility * iExtension [private]

RLibrary iExtensionLib

RLibrary iExtensionLib [private]