phonebookengines/contactsmodel/cntplsql/src/cplcontactsfile.cpp
changeset 24 0ba2181d7c28
parent 0 e686773b3f54
equal deleted inserted replaced
0:e686773b3f54 24:0ba2181d7c28
     1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 /*
     2 // All rights reserved.
     2 * Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
     3 // This component and the accompanying materials are made available
     3 * All rights reserved.
     4 // under the terms of "Eclipse Public License v1.0"
     4 * This component and the accompanying materials are made available
     5 // which accompanies this distribution, and is available
     5 * under the terms of "Eclipse Public License v1.0"
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 * which accompanies this distribution, and is available
     7 //
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     8 // Initial Contributors:
     8 *
     9 // Nokia Corporation - initial contribution.
     9 * Initial Contributors:
    10 //
    10 * Nokia Corporation - initial contribution.
    11 // Contributors:
    11 *
    12 //
    12 * Contributors:
    13 // Description:
    13 *
    14 //
    14 * Description: 
       
    15 *
       
    16 */
       
    17 
    15 
    18 
    16 /**
    19 /**
    17  @file
    20  @file
    18  @internalComponent
    21  @internalComponent
    19  @released
    22  @released
   177 	TFileName fileName;
   180 	TFileName fileName;
   178 	GetPhysicalFileNameL(fileName, aFileName);
   181 	GetPhysicalFileNameL(fileName, aFileName);
   179 	
   182 	
   180 	iDatabase.Close();
   183 	iDatabase.Close();
   181 	iDatabase.OpenL(fileName, iConfigureStr);
   184 	iDatabase.OpenL(fileName, iConfigureStr);
       
   185 
       
   186     iItemManager->SynchronizePredSearchTableL();
   182 	
   187 	
   183 	iFileIsOpen = ETrue;
   188 	iFileIsOpen = ETrue;
   184 	GenerateNotificationEventL(aNotify);	
   189 	GenerateNotificationEventL(aNotify);	
   185 	}
   190 	}
   186 
   191