equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2007-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". |
132 // |
132 // |
133 EXPORT_C void CAcpController::FetchProviderListFromNetworkL() |
133 EXPORT_C void CAcpController::FetchProviderListFromNetworkL() |
134 { |
134 { |
135 ACPLOG( "CAcpController::FetchProviderListFromNetworkL begin" ); |
135 ACPLOG( "CAcpController::FetchProviderListFromNetworkL begin" ); |
136 |
136 |
137 // Create SIP profile registry. From now on we'll get SIP events. |
137 if ( !iSipModel ) |
138 iSipModel = CSIPManagedProfileRegistry::NewL( *this ); |
138 { |
|
139 // Create SIP profile registry. From now on we'll get SIP events. |
|
140 iSipModel = CSIPManagedProfileRegistry::NewL( *this ); |
|
141 } |
139 |
142 |
140 // Delete old data, otherwise Refresh won't work. |
143 // Delete old data, otherwise Refresh won't work. |
141 delete iData; |
144 delete iData; |
142 iData = NULL; |
145 iData = NULL; |
143 iData = HBufC8::NewL( KBufferSize ); |
146 iData = HBufC8::NewL( KBufferSize ); |