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