RSsmSystemWideProperty Class Reference

class RSsmSystemWideProperty

Read-only client interface to receive notifications when a System Wide Property's value is changed.

The implementation is similar to RProperty so the general pitfalls of RProperties applies. I.e. if the value changes several times before being read, only the last set value will be available. And to avoid missing a second notification, subscribtion must be reissued the first thing when you get a change notification, not after the change have been handled.

CSsmSystemWideProperty wraps this class in an active object.

CSsmSystemWideProperty

Member Functions Documentation

Close()

IMPORT_C void Close ( )

Connect(TUint)

IMPORT_C TInt Connect ( TUint aSwpKey )

Parameters

TUint aSwpKey

Connect(TUint, TUid)

TInt Connect ( TUint aSwpKey,
TUid aProcessSid
)

Parameters

TUint aSwpKey
TUid aProcessSid

GetValue(TInt &)

IMPORT_C TInt GetValue ( TInt & aValue ) const

Parameters

TInt & aValue

Subscribe(TRequestStatus &)

IMPORT_C void Subscribe ( TRequestStatus & aStatus )

Parameters

TRequestStatus & aStatus

SubscribeCancel()

IMPORT_C void SubscribeCancel ( )

Member Data Documentation

TUint iKey

TUint iKey [private]

RProperty iProperty

RProperty iProperty [private]

TInt iSpare

TInt iSpare [private]