profilesservices/MediaFileList/Inc/mediafilehandler.h
branchRCL_3
changeset 51 8bda91a87a00
parent 0 8c5d936e5675
equal deleted inserted replaced
50:673fb3e04649 51:8bda91a87a00
   226         TInt Attribute( TInt aIndex, TInt aAttr, TInt aQueryId );
   226         TInt Attribute( TInt aIndex, TInt aAttr, TInt aQueryId );
   227         void GetAttributeL( TInt aIndex, TInt aAttr, TDes& aValue, TInt aQueryId );
   227         void GetAttributeL( TInt aIndex, TInt aAttr, TDes& aValue, TInt aQueryId );
   228         void GetAttribute( TInt aIndex, TInt aAttr, TDes& aValue, TInt aQueryId );
   228         void GetAttribute( TInt aIndex, TInt aAttr, TDes& aValue, TInt aQueryId );
   229         CMediaFileData* ReadMediaFileDataL( TInt aId );
   229         CMediaFileData* ReadMediaFileDataL( TInt aId );
   230         void CancelQuery();
   230         void CancelQuery();
       
   231         
       
   232         /**
       
   233         * Remove an item from list of search reuslt
       
   234         * @param aIndex Search list's index.
       
   235         * @return None.
       
   236         */
       
   237         void Remove( TInt aIndex );
   231 
   238 
   232     public:
   239     public:
   233         TInt ItemIndex( const TDesC& aItemText, TInt aIndex );
   240         TInt ItemIndex( const TDesC& aItemText, TInt aIndex );
   234         TInt ItemIndex( TInt aItemId, TInt aIndex );
   241         TInt ItemIndex( TInt aItemId, TInt aIndex );
   235         
   242         
   487         void GetAttributeL( TInt aIndex, TInt aAttr, TDes& aValue );
   494         void GetAttributeL( TInt aIndex, TInt aAttr, TDes& aValue );
   488         TInt Attribute( TInt aIndex, TInt aAttr );
   495         TInt Attribute( TInt aIndex, TInt aAttr );
   489         void SetSearchId( TInt aId );
   496         void SetSearchId( TInt aId );
   490         TInt SearchId();
   497         TInt SearchId();
   491         
   498         
       
   499         /**
       
   500         * Remove an item from the list of search results.
       
   501         * @param aIndex List's index.
       
   502         * @return None.
       
   503         */
       
   504         void Remove( TInt aIndex );
       
   505         
   492     public:
   506     public:
   493         TInt ItemIndex( TInt aId );
   507         TInt ItemIndex( TInt aId );
   494         TInt ItemIndex( const TDesC& aText );
   508         TInt ItemIndex( const TDesC& aText );
   495         TInt ItemIndex( const TDesC& aText, TInt aIndex );
   509         TInt ItemIndex( const TDesC& aText, TInt aIndex );
   496         TInt ItemIndex( TInt aId, TInt aIndex );
   510         TInt ItemIndex( TInt aId, TInt aIndex );