equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2008 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". |
164 LOG( "UsbServiceState == EUsbServiceFatalError" ); |
164 LOG( "UsbServiceState == EUsbServiceFatalError" ); |
165 return KErrGeneral; |
165 return KErrGeneral; |
166 } |
166 } |
167 default: |
167 default: |
168 { |
168 { |
169 Panic( EUnknownUsbServiceState); |
169 PANIC( EUnknownUsbServiceState); |
170 } |
170 } |
171 } |
171 } |
172 |
172 |
173 return KErrNone; |
173 return KErrNone; |
174 |
174 |
246 LOG("UsbServiceState == EUsbServiceFatalError" ); |
246 LOG("UsbServiceState == EUsbServiceFatalError" ); |
247 return KErrGeneral; |
247 return KErrGeneral; |
248 } |
248 } |
249 default: |
249 default: |
250 { |
250 { |
251 Panic( EUnknownUsbServiceState); |
251 PANIC( EUnknownUsbServiceState); |
252 } |
252 } |
253 } |
253 } |
254 return KErrNone; |
254 return KErrNone; |
255 } |
255 } |
256 |
256 |
370 iObserver.UsbServiceControlReqCompletedL(KErrGeneral); |
370 iObserver.UsbServiceControlReqCompletedL(KErrGeneral); |
371 break; |
371 break; |
372 } |
372 } |
373 default: |
373 default: |
374 { |
374 { |
375 Panic( EUnknownUsbServiceState); |
375 PANIC( EUnknownUsbServiceState); |
376 } |
376 } |
377 } |
377 } |
378 |
378 |
379 } |
379 } |
380 |
380 |