equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2006 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". |
710 void CCmManagerImpl::StartCommsDatNotifierL() |
710 void CCmManagerImpl::StartCommsDatNotifierL() |
711 { |
711 { |
712 // Two instances of class CCmCommsDatNotifier are created here and |
712 // Two instances of class CCmCommsDatNotifier are created here and |
713 // referred by all watchers in CmManager. One is to watch change in Iap Table |
713 // referred by all watchers in CmManager. One is to watch change in Iap Table |
714 // and the other is to watch change in Snap Table. |
714 // and the other is to watch change in Snap Table. |
715 |
715 iCommsDatIapNotifier = CCmCommsDatNotifier::NewL( KCDTIdIAPRecord ); |
716 if ( iCommsDatIapNotifier == NULL ) |
716 |
717 { |
717 TUint32 snapTableId = GetSnapTableIdL(); |
718 iCommsDatIapNotifier = CCmCommsDatNotifier::NewL( KCDTIdIAPRecord ); |
718 iCommsDatSnapNotifier = CCmCommsDatNotifier::NewL( snapTableId ); |
719 } |
|
720 |
|
721 if ( iCommsDatSnapNotifier == NULL ) |
|
722 { |
|
723 TUint32 snapTableId = GetSnapTableIdL(); |
|
724 iCommsDatSnapNotifier = CCmCommsDatNotifier::NewL( snapTableId ); |
|
725 } |
|
726 } |
719 } |
727 |
720 |
728 //============================================================================= |
721 //============================================================================= |
729 // CREATION / DELETION API |
722 // CREATION / DELETION API |
730 //============================================================================= |
723 //============================================================================= |