MSysapCallback Class Reference

class MSysapCallback

An interface for controlling System Application and querying information from it.

This interface is intended for plug-ins that run in the System Application process. Plug-ins can execute commands to be performed by the System Application and also query information from the System Application.

None
Since
S60 3.1

Member Functions Documentation

ExecCommandL(TSysapCommand)

voidExecCommandL(TSysapCommandaCommand)[pure virtual]

Executes a command in SysAp.

Since
S60 3.1
leave
a system wide error code
MSysapCallback::TSysapCommand

Parameters

TSysapCommand aCommandcommand identifier

ExecCommandL(TSysapCommand, const TDesC8 &)

voidExecCommandL(TSysapCommandaCommand,
const TDesC8 &aParam
)[pure virtual]

Executes a command in SysAp.

Since
S60 3.1
leave
a system wide error code
MSysapCallback::TSysapCommand

Parameters

TSysapCommand aCommandcommand identifier
const TDesC8 & aParamcommand specific parameter data

ExecQueryL(TSysapQuery, TDes8 &)

voidExecQueryL(TSysapQueryaQuery,
TDes8 &aReturn
)[pure virtual]

Queries information from SysAp.

Since
S60 3.1
leave
a system wide error code
MSysapCallback::TSysapQuery

Parameters

TSysapQuery aQueryquery identifier
TDes8 & aReturnquery specific return data

ExecQueryL(TSysapQuery, TDes8 &, const TDesC8 &)

voidExecQueryL(TSysapQueryaQuery,
TDes8 &aReturn,
const TDesC8 &aParam
)[pure virtual]

Queries information from SysAp.

Since
S60 3.1
leave
a system wide error code
MSysapCallback::TSysapQuery

Parameters

TSysapQuery aQueryquery identifier
TDes8 & aReturnquery specific return data
const TDesC8 & aParamquery specific parameter data

Member Enumerations Documentation

Enum TSysapCommand

Sysap command identifiers.

MSysapCallback::ExecCommandL

Enumerators

EResetKeyguardState
ECancelPowermenu
EUpdateLights

Updates the light state if necessary.

The key event code due to which update takes place is passed as a parameter, so that SysAp can perform key event specific light handling. Note that calling this method does not necessarily trigger any light related actions, if there is no key specific light handling implemented in SysAp.

Enum TSysapQuery

Sysap query identifiers.

MSysapCallback::ExecQueryL

Enumerators

EGetHwrmLight
EGetKeylock