networksecurity/tls/ts_tls/COMINIT.CPP
branchRCL_3
changeset 21 abbed5a4b42a
parent 0 af10295192d8
child 22 8d540f55e491
equal deleted inserted replaced
20:7e41d162e158 21:abbed5a4b42a
     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