phonebookengines/contactsmodel/cntsrv/inc/persistencelayer.h
changeset 24 0ba2181d7c28
parent 0 e686773b3f54
child 31 2a11b5b00470
equal deleted inserted replaced
0:e686773b3f54 24:0ba2181d7c28
     1 /**
     1 /*
     2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2005-2009 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
     9 * Initial Contributors:
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    10 * Nokia Corporation - initial contribution.
    11 *
    11 *
    12 * Contributors:
    12 * Contributors:
    13 *
    13 *
    14 * Description:
    14 * Description: 
    15 *
    15 *
    16 */
    16 */
       
    17 
    17 
    18 
    18 
    19 
    19 
    20 
    20 /**
    21 /**
    21  @file
    22  @file
   171 	virtual TInt CardTemplatePrefIdL() const = 0;
   172 	virtual TInt CardTemplatePrefIdL() const = 0;
   172 	virtual void SetCardTemplatePrefIdL(TInt aCardTemplatePrefId) = 0;
   173 	virtual void SetCardTemplatePrefIdL(TInt aCardTemplatePrefId) = 0;
   173 	virtual TInt64 MachineIdL() const = 0;
   174 	virtual TInt64 MachineIdL() const = 0;
   174 	virtual CContactIdArray& CardTemplateIdsL() = 0;
   175 	virtual CContactIdArray& CardTemplateIdsL() = 0;
   175 	virtual CContactIdArray& GroupIdListL() = 0;
   176 	virtual CContactIdArray& GroupIdListL() = 0;
       
   177 	virtual CContactIdArray* SearchIdListL(const TDesC& aSearchQuery) const = 0;
   176 	virtual void SetMachineIdL(TInt64 aMachineId) = 0;
   178 	virtual void SetMachineIdL(TInt64 aMachineId) = 0;
   177 	virtual TPtrC UniqueIdL() = 0; 
   179 	virtual TPtrC UniqueIdL() = 0; 
   178 	
   180 	
   179 	// System template methods.
   181 	// System template methods.
   180 	virtual const CContactTemplate& SystemTemplateL() const =0;
   182 	virtual const CContactTemplate& SystemTemplateL() const =0;