equal
deleted
inserted
replaced
1 // Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2001-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of "Eclipse Public License v1.0" |
4 // under the terms of "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
38 |
38 |
39 #define LDD_NAME _L("ECOMM") |
39 #define LDD_NAME _L("ECOMM") |
40 |
40 |
41 void RHttpTestUtils::InitCommsL() |
41 void RHttpTestUtils::InitCommsL() |
42 { |
42 { |
|
43 #ifndef SIROCCO_CODE_MIGRATION |
43 TInt ret = User::LoadPhysicalDevice(PDD_NAME); |
44 TInt ret = User::LoadPhysicalDevice(PDD_NAME); |
44 User::LeaveIfError(ret); |
45 User::LeaveIfError(ret); |
45 |
46 |
46 #ifndef __WINS__ |
47 #ifndef __WINS__ |
47 User::LoadPhysicalDevice(PDD2_NAME); |
48 User::LoadPhysicalDevice(PDD2_NAME); |
52 ret = User::LoadLogicalDevice(LDD_NAME); |
53 ret = User::LoadLogicalDevice(LDD_NAME); |
53 User::LeaveIfError(ret); |
54 User::LeaveIfError(ret); |
54 |
55 |
55 ret = StartC32(); |
56 ret = StartC32(); |
56 User::LeaveIfError(ret); |
57 User::LeaveIfError(ret); |
|
58 #endif //SIROCCO_CODE_MIGRATION |
57 } |
59 } |
58 |
60 |