profilesservices/MediaFileList/Inc/mediafilehandler.h
branchRCL_3
changeset 67 940cad2b4a51
parent 54 7e0eff37aedb
equal deleted inserted replaced
60:2cc01806dc06 67:940cad2b4a51
   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 );
       
   238 
   231 
   239     public:
   232     public:
   240         TInt ItemIndex( const TDesC& aItemText, TInt aIndex );
   233         TInt ItemIndex( const TDesC& aItemText, TInt aIndex );
   241         TInt ItemIndex( TInt aItemId, TInt aIndex );
   234         TInt ItemIndex( TInt aItemId, TInt aIndex );
   242         
   235         
   494         void GetAttributeL( TInt aIndex, TInt aAttr, TDes& aValue );
   487         void GetAttributeL( TInt aIndex, TInt aAttr, TDes& aValue );
   495         TInt Attribute( TInt aIndex, TInt aAttr );
   488         TInt Attribute( TInt aIndex, TInt aAttr );
   496         void SetSearchId( TInt aId );
   489         void SetSearchId( TInt aId );
   497         TInt SearchId();
   490         TInt SearchId();
   498         
   491         
   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         
       
   506     public:
   492     public:
   507         TInt ItemIndex( TInt aId );
   493         TInt ItemIndex( TInt aId );
   508         TInt ItemIndex( const TDesC& aText );
   494         TInt ItemIndex( const TDesC& aText );
   509         TInt ItemIndex( const TDesC& aText, TInt aIndex );
   495         TInt ItemIndex( const TDesC& aText, TInt aIndex );
   510         TInt ItemIndex( TInt aId, TInt aIndex );
   496         TInt ItemIndex( TInt aId, TInt aIndex );