diff -r d2f833ab7940 -r 7aaf39b772ac contentstorage/cautils/inc/cainnerquery.h --- a/contentstorage/cautils/inc/cainnerquery.h Fri Jun 11 16:13:51 2010 +0300 +++ b/contentstorage/cautils/inc/cainnerquery.h Thu Jun 24 16:18:29 2010 +0300 @@ -90,12 +90,25 @@ IMPORT_C TInt GetParentId() const; /** - * Sets the parent id to be queried. This will cause returning only entries whose aprent ids are aId. + * Sets the parent id to be queried. This will cause returning only entries whose parent ids are aId. * @param aId The parent id to be set for the query. */ IMPORT_C void SetParentId( TInt aId ); /** + * Returns the child id set for the query. + * @return Id of entry's child. + */ + IMPORT_C TInt GetChildId() const; + + /** + * Sets the child id to be queried. This will cause returning parents of the entry with id aId + * @param aId The child id to be set for the query. + */ + IMPORT_C void SetChildId( TInt aId ); + + + /** * Gets the typenames filter set in the query. * @return Array of typenames set in this query. */ @@ -231,6 +244,11 @@ TInt iParentId; /* + * Unique identifier of the child entry. + */ + TInt iChildId; + + /* * Own. */ CDesC16ArrayFlat* iEntryTypeNames;