equal
deleted
inserted
replaced
1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of "Eclipse Public License v1.0" |
4 // under the terms of "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
140 if (ssmState.MainState() == ESsmShutdown && ssmState.SubState() == ESsmShutdownSubStateCritical) |
140 if (ssmState.MainState() == ESsmShutdown && ssmState.SubState() == ESsmShutdownSubStateCritical) |
141 { |
141 { |
142 aState = MASSrvSystemStateObserver::EShutdown; |
142 aState = MASSrvSystemStateObserver::EShutdown; |
143 interestedInChange = ETrue; |
143 interestedInChange = ETrue; |
144 } |
144 } |
145 else if (ssmState.MainState() == ESsmNormal && ssmState.SubState() == ESsmNormalSubState) |
145 else if (ssmState.MainState() == ESsmNormal) |
146 { |
146 { |
147 aState = MASSrvSystemStateObserver::ENormal; |
147 aState = MASSrvSystemStateObserver::ENormal; |
148 interestedInChange = ETrue; |
148 interestedInChange = ETrue; |
149 } |
149 } |
150 |
150 |