CChargingStatusObserver Class Reference

class CChargingStatusObserver : public CActive

CChargingStatusObserver is used to provide battery charging status from HWRM to CTSY

Inherits from

Constructor & Destructor Documentation

CChargingStatusObserver(MChargingStatusNotifier &)

CChargingStatusObserver ( MChargingStatusNotifier & aChargingStatusNotifier ) [private]

Constructor

Parameters

MChargingStatusNotifier & aChargingStatusNotifier reference to interface class MChargingStatusNotifier

~CChargingStatusObserver()

~CChargingStatusObserver ( )

Destructor

Member Functions Documentation

ConstructL()

void ConstructL ( ) [private]

By default Symbian 2nd phase constructor is private

DoCancel()

void DoCancel ( ) [virtual]

Cancellation of an outstanding request

GetChargingStatus()

void GetChargingStatus ( )

Get charging status

NewL(MChargingStatusNotifier &)

CChargingStatusObserver * NewL ( MChargingStatusNotifier & aChargingStatusNotifier ) [static]

Two-phased constructor

Parameters

MChargingStatusNotifier & aChargingStatusNotifier reference to interface class MChargingStatusNotifier

NewLC(MChargingStatusNotifier &)

CChargingStatusObserver * NewLC ( MChargingStatusNotifier & aChargingStatusNotifier ) [static]

Two-phased constructor

Parameters

MChargingStatusNotifier & aChargingStatusNotifier reference to interface class MChargingStatusNotifier

RunL()

void RunL ( ) [virtual]

Handles GetChargingStatus request completion event

Member Data Documentation

RProperty iChargingStatus

RProperty iChargingStatus [private]

Property for charging status

MChargingStatusNotifier & iChargingStatusNotifier

MChargingStatusNotifier & iChargingStatusNotifier [private]

Reference to ChargingStatusNotifier object