equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2002-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". |
724 #endif |
724 #endif |
725 else |
725 else |
726 { |
726 { |
727 aType = ENoDcf; |
727 aType = ENoDcf; |
728 } |
728 } |
729 |
|
730 } |
729 } |
731 break; |
730 break; |
732 case EStateSetTtid: |
731 case EStateSetTtid: |
733 { |
732 { |
734 TParse p; |
733 TParse p; |
1051 { |
1050 { |
1052 #ifdef _DRM_TESTING |
1051 #ifdef _DRM_TESTING |
1053 TRAPD(r,WriteL(_L8("CompleteScanning"))); |
1052 TRAPD(r,WriteL(_L8("CompleteScanning"))); |
1054 #endif |
1053 #endif |
1055 |
1054 |
|
1055 if ( iScan->IsActive() ) |
|
1056 { |
|
1057 iScan->Cancel(); |
|
1058 } |
|
1059 |
1056 for (TInt i = 0 ; i<iMessageList.Count() ; i++ ) |
1060 for (TInt i = 0 ; i<iMessageList.Count() ; i++ ) |
1057 { |
1061 { |
1058 if ( iMessageList[i] && !(iMessageList[i]->IsNull()) ) |
1062 if ( iMessageList[i] && !(iMessageList[i]->IsNull()) ) |
1059 { |
1063 { |
1060 iMessageList[i]->Complete(aRet); |
1064 iMessageList[i]->Complete(aRet); |