equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
27 #include "scpvoiphandler.h" |
27 #include "scpvoiphandler.h" |
28 #include "scpvmbxhandler.h" |
28 #include "scpvmbxhandler.h" |
29 #include "scppresencehandler.h" |
29 #include "scppresencehandler.h" |
30 #include "scpimhandler.h" |
30 #include "scpimhandler.h" |
31 #include "scpsubserviceobserver.h" |
31 #include "scpsubserviceobserver.h" |
|
32 #include "scppresencehandler.h" |
32 |
33 |
33 // ----------------------------------------------------------------------------- |
34 // ----------------------------------------------------------------------------- |
34 // CScpSubService::NewL |
35 // CScpSubService::NewL |
35 // ----------------------------------------------------------------------------- |
36 // ----------------------------------------------------------------------------- |
36 // |
37 // |
515 |
516 |
516 case ECCHEnabled: |
517 case ECCHEnabled: |
517 { |
518 { |
518 iSubServiceState = |
519 iSubServiceState = |
519 TScpStateContainer::Instance( ECCHEnabled ); |
520 TScpStateContainer::Instance( ECCHEnabled ); |
|
521 |
|
522 if ( ECCHVoIPSub == iSubServiceType ) |
|
523 { |
|
524 if ( iService.ContainsSubServiceType( ECCHPresenceSub ) ) |
|
525 { |
|
526 CScpPresenceHandler* presenceHandler = static_cast<CScpPresenceHandler*>( |
|
527 &iService.GetSubServiceByType( ECCHPresenceSub )->ServiceHandler() ); |
|
528 |
|
529 presenceHandler->UpdateXdmSettingsL(); |
|
530 } |
|
531 } |
520 } |
532 } |
521 break; |
533 break; |
522 |
534 |
523 case ECCHDisconnecting: |
535 case ECCHDisconnecting: |
524 { |
536 { |