predictivesearch/PcsAlgorithm/Algorithm1/inc/CPcsCache.h
branchRCL_3
changeset 39 a6539d1e8e43
parent 35 4ae315f230bc
child 64 c1e8ba0c2b16
--- a/predictivesearch/PcsAlgorithm/Algorithm1/inc/CPcsCache.h	Tue May 25 12:26:45 2010 +0300
+++ b/predictivesearch/PcsAlgorithm/Algorithm1/inc/CPcsCache.h	Wed Jun 09 09:26:27 2010 +0300
@@ -27,6 +27,7 @@
 #include "CPcsPoolElement.h"
 #include "TCacheInfo.h"
 #include "CPcsDefs.h"
+#include "CPcsAdaptiveGrid.h"
 
 // CLASS DECLARATION
 class CPcsCache : public CBase
@@ -115,9 +116,14 @@
 		void GetIndexOrder(RArray<TInt>& aIndexOrder);
 		
         /**
-         * Resort data according to the new sortorder
-         */
+        * Resort data according to the new sortorder
+        */
         void ResortdataInPoolsL();
+        
+        /**
+        * Returns the Adaptive Grid
+        */  
+        void GetAdaptiveGridL( const TBool aCompanyName, TDes& aAdaptiveGrid );
 
 	private:
 
@@ -151,6 +157,11 @@
          */
         void ComputeIndexOrder();
         
+        /**
+         * Matches Adaptive Grid Item Selector
+         */
+        TUint GridItemSelector( TInt aIndex, TBool& aUnnamed );
+        
 	private:
 
 		/*
@@ -210,6 +221,10 @@
 		*/
 		RArray<TInt> iIndexOrder;
 		
+		/**
+		* Grid characters with reference counters.
+		*/
+		CPcsAdaptiveGrid* iAdaptiveGridMap;
 };