diff -r 4ae315f230bc -r a6539d1e8e43 predictivesearch/PcsAlgorithm/Algorithm1/inc/CPcsCache.h --- 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& 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 iIndexOrder; + /** + * Grid characters with reference counters. + */ + CPcsAdaptiveGrid* iAdaptiveGridMap; };