equal
deleted
inserted
replaced
25 #include "CPsData.h" |
25 #include "CPsData.h" |
26 #include "CPcsKeyMap.h" |
26 #include "CPcsKeyMap.h" |
27 #include "CPcsPoolElement.h" |
27 #include "CPcsPoolElement.h" |
28 #include "TCacheInfo.h" |
28 #include "TCacheInfo.h" |
29 #include "CPcsDefs.h" |
29 #include "CPcsDefs.h" |
|
30 #include "CPcsAdaptiveGrid.h" |
30 |
31 |
31 // CLASS DECLARATION |
32 // CLASS DECLARATION |
32 class CPcsCache : public CBase |
33 class CPcsCache : public CBase |
33 { |
34 { |
34 |
35 |
113 * Get the index order corresponding to the sort order |
114 * Get the index order corresponding to the sort order |
114 */ |
115 */ |
115 void GetIndexOrder(RArray<TInt>& aIndexOrder); |
116 void GetIndexOrder(RArray<TInt>& aIndexOrder); |
116 |
117 |
117 /** |
118 /** |
118 * Resort data according to the new sortorder |
119 * Resort data according to the new sortorder |
119 */ |
120 */ |
120 void ResortdataInPoolsL(); |
121 void ResortdataInPoolsL(); |
|
122 |
|
123 /** |
|
124 * Returns the Adaptive Grid |
|
125 */ |
|
126 void GetAdaptiveGridL( const TBool aCompanyName, TDes& aAdaptiveGrid ); |
121 |
127 |
122 private: |
128 private: |
123 |
129 |
124 /** |
130 /** |
125 * Constructor |
131 * Constructor |
149 /** |
155 /** |
150 * Utility function |
156 * Utility function |
151 */ |
157 */ |
152 void ComputeIndexOrder(); |
158 void ComputeIndexOrder(); |
153 |
159 |
|
160 /** |
|
161 * Matches Adaptive Grid Item Selector |
|
162 */ |
|
163 TUint GridItemSelector( TInt aIndex, TBool& aUnnamed ); |
|
164 |
154 private: |
165 private: |
155 |
166 |
156 /* |
167 /* |
157 * Array of key maps |
168 * Array of key maps |
158 */ |
169 */ |
208 * Each CPsData data element fields need to be compared in this order |
219 * Each CPsData data element fields need to be compared in this order |
209 * to get the client expected sort order for this cache. |
220 * to get the client expected sort order for this cache. |
210 */ |
221 */ |
211 RArray<TInt> iIndexOrder; |
222 RArray<TInt> iIndexOrder; |
212 |
223 |
|
224 /** |
|
225 * Grid characters with reference counters. |
|
226 */ |
|
227 CPcsAdaptiveGrid* iAdaptiveGridMap; |
213 }; |
228 }; |
214 |
229 |
215 |
230 |
216 #endif // __CPCS_CACHE_H__ |
231 #endif // __CPCS_CACHE_H__ |
217 |
232 |