mmappcomponents/audiofetcher/inc/audiofetcherfilehandler.h
branchRCL_3
changeset 63 91d5ad76f5c6
parent 0 a2952bb97e68
child 67 16db3449d7ba
equal deleted inserted replaced
59:666f9a5a90a9 63:91d5ad76f5c6
   164 
   164 
   165     public:
   165     public:
   166         void SetObserver( MAudioFetcherFileHandlerObserver* aObserver );
   166         void SetObserver( MAudioFetcherFileHandlerObserver* aObserver );
   167         void SetQueryId( TInt aId );
   167         void SetQueryId( TInt aId );
   168         void EnableObserverCall( TBool aEnable );
   168         void EnableObserverCall( TBool aEnable );
       
   169         void SetMimeType( const MDesCArray& aMimeTypeArray );
   169         
   170         
   170     public:
   171     public:
   171         TInt RomFileAttribute( TInt aIndex, TInt aAttr );
   172         TInt RomFileAttribute( TInt aIndex, TInt aAttr );
   172         void GetRomFileAttribute( TInt aIndex, TInt aAttr, TDes& aValue );
   173         void GetRomFileAttribute( TInt aIndex, TInt aAttr, TDes& aValue );
   173            
   174            
   183         static CMdEPropertyDef& PropertyDefL( CMdESession* aSession, TInt aAttr );
   184         static CMdEPropertyDef& PropertyDefL( CMdESession* aSession, TInt aAttr );
   184         
   185         
   185     private:
   186     private:
   186 
   187 
   187         void ExcludeRomFilesL( CMdELogicCondition& aCondition );
   188         void ExcludeRomFilesL( CMdELogicCondition& aCondition );
       
   189         void MimeFilterL( CMdELogicCondition& aCondition );
   188 
   190 
   189     private:
   191     private:
   190         void LeaveIfSessionClosedL();
   192         void LeaveIfSessionClosedL();
   191         void Panic( TInt aReason );
   193         void Panic( TInt aReason );
   192         TInt MediaType( TInt aQueryType );
   194         TInt MediaType( TInt aQueryType );
   225         // metadata query
   227         // metadata query
   226         CMdEObjectQuery* iQuery;
   228         CMdEObjectQuery* iQuery;
   227 
   229 
   228         // search result list - ui shows items from this list
   230         // search result list - ui shows items from this list
   229         CSearchList* iSearchList;
   231         CSearchList* iSearchList;
       
   232         
       
   233         // Mime Type array
       
   234         const MDesCArray* iMimeTypeArray;
   230 
   235 
   231         // metadata search text
   236         // metadata search text
   232         TBuf<128> iSearchText;
   237         TBuf<128> iSearchText;
   233          
   238          
   234         // for generating active object calls
   239         // for generating active object calls