equal
deleted
inserted
replaced
17 |
17 |
18 #ifndef __CCAINNERQUERY_H__ |
18 #ifndef __CCAINNERQUERY_H__ |
19 #define __CCAINNERQUERY_H__ |
19 #define __CCAINNERQUERY_H__ |
20 |
20 |
21 #include <e32base.h> |
21 #include <e32base.h> |
|
22 #include "caentryattribute.h" |
22 |
23 |
23 //FORWARD DECLARATIONS |
24 //FORWARD DECLARATIONS |
24 class CDesC16ArrayFlat; |
25 class CDesC16ArrayFlat; |
25 class RWriteStream; |
26 class RWriteStream; |
26 class RReadStream; |
27 class RReadStream; |
187 /** |
188 /** |
188 * Gets the maximum amount of entries to be fetched. |
189 * Gets the maximum amount of entries to be fetched. |
189 * @return The maximum amount of entries to be fetched. |
190 * @return The maximum amount of entries to be fetched. |
190 */ |
191 */ |
191 IMPORT_C TUint GetCount() const; |
192 IMPORT_C TUint GetCount() const; |
|
193 |
|
194 /** |
|
195 * Adds attribute to query. |
|
196 * @param aKey Attribute key. |
|
197 * @param aValue Attribute value. |
|
198 */ |
|
199 IMPORT_C void AddAttributeL( const TDesC& aKey, const TDesC& aValue ); |
|
200 |
|
201 /** |
|
202 * Get attributes array |
|
203 * @return attributes array |
|
204 */ |
|
205 IMPORT_C const RCaEntryAttrArray& GetAttributes() const; |
|
206 |
192 |
207 |
193 private: |
208 private: |
194 |
209 |
195 /** |
210 /** |
196 * Second phased constructor. |
211 * Second phased constructor. |
247 |
262 |
248 /* |
263 /* |
249 * Number of entries to fetch |
264 * Number of entries to fetch |
250 */ |
265 */ |
251 TUint iCount; |
266 TUint iCount; |
|
267 |
|
268 /* |
|
269 * Attributes array. Own |
|
270 */ |
|
271 RCaEntryAttrArray iAttributes; |
252 |
272 |
253 }; |
273 }; |
254 |
274 |
255 #endif // __CCAQUERY_H__ |
275 #endif // __CCAQUERY_H__ |