contentstorage/cautils/inc/cainnerentry.h
changeset 127 7b66bc3c6dc9
parent 98 d2f833ab7940
equal deleted inserted replaced
126:efda7c0771b9 127:7b66bc3c6dc9
   112      * Gets icon id.
   112      * Gets icon id.
   113      * @return Icon id.
   113      * @return Icon id.
   114      */
   114      */
   115     IMPORT_C TInt GetIconId() const;
   115     IMPORT_C TInt GetIconId() const;
   116 
   116 
       
   117     /**
       
   118      * Get entry array of parent ids. 
       
   119      * @return Array of parent ids.
       
   120      */
       
   121     IMPORT_C  const RArray<TInt>& GetParentIds() const; 
       
   122 
   117     //    SETTERS
   123     //    SETTERS
   118     /**
   124     /**
   119      * Sets entry id.
   125      * Sets entry id.
   120      * @param aId Entry id.
   126      * @param aId Entry id.
   121      */
   127      */
   199     /**
   205     /**
   200      * Sets the entry icon id (id from storage).
   206      * Sets the entry icon id (id from storage).
   201      * @param aIconId Icon id.
   207      * @param aIconId Icon id.
   202      */
   208      */
   203     IMPORT_C void SetIconId( TInt aIconId );
   209     IMPORT_C void SetIconId( TInt aIconId );
       
   210     
       
   211     /**
       
   212      * Sets the parent ids to entry.
       
   213      * @param aArray The array of parent ids.
       
   214      */
       
   215     IMPORT_C void SetParentIdsL( const RArray<TInt>& aArray );    
   204 
   216 
   205     /**
   217     /**
   206      * Externalizes object to the stream
   218      * Externalizes object to the stream
   207      * @param aStream a write stream
   219      * @param aStream a write stream
   208      */
   220      */
   286     
   298     
   287     TBool iTextLocalized;
   299     TBool iTextLocalized;
   288     
   300     
   289     TBool iDescriptionLocalized;
   301     TBool iDescriptionLocalized;
   290     
   302     
   291 
   303     /*
       
   304      * Parent ids of entry. Own.
       
   305      */
       
   306     RArray<TInt> iParentIds;
   292     };
   307     };
   293 
   308 
   294 #endif // __CAINNERENTRY_H__
   309 #endif // __CAINNERENTRY_H__