equal
deleted
inserted
replaced
56 void CWDSelfShutdownObserver::ConstructL() |
56 void CWDSelfShutdownObserver::ConstructL() |
57 { |
57 { |
58 PRINT(_L("CWDSelfShutdownObserver::ConstructL()")); |
58 PRINT(_L("CWDSelfShutdownObserver::ConstructL()")); |
59 |
59 |
60 TInt error = RProperty::Define(KWatchdogPSShutdown, KShutdown,RProperty::EInt,KAllowAllPolicy,KPowerMgmtPolicy); |
60 TInt error = RProperty::Define(KWatchdogPSShutdown, KShutdown,RProperty::EInt,KAllowAllPolicy,KPowerMgmtPolicy); |
61 RProperty::Set(KWatchdogPSShutdown,KShutdown,0); |
|
62 |
61 |
63 // attach to the property |
62 // attach to the property |
64 User::LeaveIfError( iProperty.Attach(KWatchdogPSShutdown,KShutdown,EOwnerThread) ); |
63 User::LeaveIfError( iProperty.Attach(KWatchdogPSShutdown,KShutdown,EOwnerThread) ); |
65 |
64 |
66 CActiveScheduler::Add( this ); |
65 CActiveScheduler::Add( this ); |