equal
deleted
inserted
replaced
1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 1997-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". |
28 #define LDD_FNAME _L("FCOMM") |
28 #define LDD_FNAME _L("FCOMM") |
29 #endif |
29 #endif |
30 |
30 |
31 GLDEF_C void CommInitL() |
31 GLDEF_C void CommInitL() |
32 { |
32 { |
|
33 #ifndef SIROCCO_CODE_MIGRATION |
33 TInt err; |
34 TInt err; |
34 // When bootstrapping C32 we have to avoid the PhBkSyncServer being started, since |
35 // When bootstrapping C32 we have to avoid the PhBkSyncServer being started, since |
35 // it needs a different CommDB |
36 // it needs a different CommDB |
36 _LIT(KPhbkSyncCMI, "phbsync.cmi"); |
37 _LIT(KPhbkSyncCMI, "phbsync.cmi"); |
37 err = StartC32WithCMISuppressions(KPhbkSyncCMI); |
38 err = StartC32WithCMISuppressions(KPhbkSyncCMI); |
58 //# endif |
59 //# endif |
59 //#endif |
60 //#endif |
60 err=User::LoadLogicalDevice(LDD_NAME); |
61 err=User::LoadLogicalDevice(LDD_NAME); |
61 if (err!=KErrNone && err!=KErrAlreadyExists) |
62 if (err!=KErrNone && err!=KErrAlreadyExists) |
62 User::Leave(err); |
63 User::Leave(err); |
|
64 #endif //SIROCCO_CODE_MIGRATION |
63 } |
65 } |
64 |
66 |