RSsmStateAwareSession Class Reference

class RSsmStateAwareSession

Read-only client interface to receive notifications when the System State changes.

CSsmStateAwareSession wraps this class in an active object.

CSsmStateAwareSession

Public Member Functions
RSsmStateAwareSession()
IMPORT_C voidAcknowledgeAndRequestStateNotification(TInt, TRequestStatus &)
IMPORT_C voidAcknowledgeStateNotification(TInt)
IMPORT_C voidClose()
IMPORT_C TIntConnect(TDmDomainId)
IMPORT_C voidRequestStateNotification(TRequestStatus &)
IMPORT_C voidRequestStateNotificationCancel()
IMPORT_C TSsmStateState()
Private Member Functions
RSsmStateAwareSession(const RSsmStateAwareSession &)
Private Attributes
RPrivateImpl *iPimpl

Constructor & Destructor Documentation

RSsmStateAwareSession()

IMPORT_CRSsmStateAwareSession()

RSsmStateAwareSession(const RSsmStateAwareSession &)

RSsmStateAwareSession(const RSsmStateAwareSession &aState)[private]

Parameters

const RSsmStateAwareSession & aState

Member Functions Documentation

AcknowledgeAndRequestStateNotification(TInt, TRequestStatus &)

IMPORT_C voidAcknowledgeAndRequestStateNotification(TIntaError,
TRequestStatus &aStatus
)

Parameters

TInt aError
TRequestStatus & aStatus

AcknowledgeStateNotification(TInt)

IMPORT_C voidAcknowledgeStateNotification(TIntaError)

Parameters

TInt aError

Close()

IMPORT_C voidClose()

Connect(TDmDomainId)

IMPORT_C TIntConnect(TDmDomainIdaId)

Parameters

TDmDomainId aId

RequestStateNotification(TRequestStatus &)

IMPORT_C voidRequestStateNotification(TRequestStatus &aStatus)

Parameters

TRequestStatus & aStatus

RequestStateNotificationCancel()

IMPORT_C voidRequestStateNotificationCancel()

State()

IMPORT_C TSsmStateState()const

Member Data Documentation

RPrivateImpl * iPimpl

RPrivateImpl *iPimpl[private]