predictivesearch/PcsAlgorithm/Algorithm1/inc/TCacheInfo.h
changeset 0 e686773b3f54
equal deleted inserted replaced
-1:000000000000 0:e686773b3f54
       
     1 /*
       
     2 * Copyright (c) 2006-2007 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Identifies a contact in cache pools
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef T_CACHE_INFO
       
    19 #define T_CACHE_INFO
       
    20 
       
    21 // INCLUDES
       
    22 #include <e32base.h>
       
    23 #include <e32hashtab.h>
       
    24 
       
    25 class CPsData;
       
    26 
       
    27 // CLASS DECLARATION
       
    28 class TIndexInfo
       
    29 {
       
    30 	public:
       
    31 	    TUint8  iPool;
       
    32 	    TUint16 iIndex;
       
    33 };
       
    34 
       
    35 class TCacheInfo
       
    36 {     
       
    37 	public:	
       
    38 		  
       
    39 	    /**
       
    40 	     * To store pool id and pool array index 
       
    41 	     */
       
    42 	    TSglQue<TIndexInfo> poolMap; 	  	    
       
    43 };
       
    44 
       
    45 #endif // T_CACHE_INFO