equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2008-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". |
149 RequestNotifications(); |
149 RequestNotifications(); |
150 } |
150 } |
151 |
151 |
152 // --------------------------------------------------------------------------- |
152 // --------------------------------------------------------------------------- |
153 // From class CActive. |
153 // From class CActive. |
|
154 // Handles any leave from RunL. |
|
155 // --------------------------------------------------------------------------- |
|
156 // |
|
157 TInt CMpmCsIdWatcher::RunError( TInt aError ) |
|
158 { |
|
159 MPMLOGSTRING2( "CMpmCsIdWatcher::RunError, ERROR: %d", aError ); |
|
160 aError = aError; |
|
161 iErrorCounter++; |
|
162 if ( !IsActive() ) |
|
163 { |
|
164 RequestNotifications(); |
|
165 } |
|
166 return KErrNone; |
|
167 } |
|
168 |
|
169 // --------------------------------------------------------------------------- |
|
170 // From class CActive. |
154 // Cancel outstanding request |
171 // Cancel outstanding request |
155 // --------------------------------------------------------------------------- |
172 // --------------------------------------------------------------------------- |
156 // |
173 // |
157 void CMpmCsIdWatcher::DoCancel() |
174 void CMpmCsIdWatcher::DoCancel() |
158 { |
175 { |