contentmgmt/contentaccessfwfordrm/source/caf/resolver.h
changeset 15 da2ae96f639b
parent 8 35751d3474b7
child 45 030c4fbc13d7
equal deleted inserted replaced
10:afc583cfa176 15:da2ae96f639b
    87 			
    87 			
    88 			@param aFile Handle of the file to be resolved.
    88 			@param aFile Handle of the file to be resolved.
    89 			@return	The CAgentInfo object associated with the agent that will handle this file.
    89 			@return	The CAgentInfo object associated with the agent that will handle this file.
    90 			*/
    90 			*/
    91 			CAgentInfo& ResolveFileL(RFile& aFile) const;			
    91 			CAgentInfo& ResolveFileL(RFile& aFile) const;			
    92 			
    92 
       
    93 #ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT
       
    94 			
       
    95 			/** Finds the agent which handles this piece of content.
       
    96 			@param aHeaderData	Header data of WMDRM file or stream content.
       
    97 			@return				CAgentInfo object associated with the agent that will handle WMDRM content.	
       
    98 			*/
       
    99 			CAgentInfo& ResolveFileL(const TDesC8& aHeaderData);
       
   100 			
       
   101 #endif //#ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT
       
   102 						
    93 			/** Finds the agent that handles a file and returns the actual URI of the content.
   103 			/** Finds the agent that handles a file and returns the actual URI of the content.
    94 			
   104 			
    95 			If the aUri is of the form "c:\\private\\agent_name\\" 
   105 			If the aUri is of the form "c:\\private\\agent_name\\" 
    96 			it will be translated to the form "c:\\private\\SID\\" in
   106 			it will be translated to the form "c:\\private\\SID\\" in
    97 			aActualUri. Otherwise the aUri is just copied to aActualUri
   107 			aActualUri. Otherwise the aUri is just copied to aActualUri
   161 			* @note	Planning to remove this from the CAF API
   171 			* @note	Planning to remove this from the CAF API
   162 			*
   172 			*
   163 			* @return	An array of consumer MIME types supported by CAF agents.
   173 			* @return	An array of consumer MIME types supported by CAF agents.
   164 			*/
   174 			*/
   165 			IMPORT_C const RArray<TPtrC8>& ConsumerMimeTypes() const;
   175 			IMPORT_C const RArray<TPtrC8>& ConsumerMimeTypes() const;
       
   176 
       
   177 #ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT			
       
   178 			/** This function should only be used by the CAF recogizer DLL.
       
   179 			
       
   180 			@param aHeader			Header data of WMDRM content.
       
   181 			@param aFileMimeType	If the content is recognized this will be populated with 
       
   182 									the mime type of the content.
       
   183 			@param aContentMimeType	If the content is recognized this will be populated with the mime type of the content. 
       
   184 
       
   185 			@return					ETrue if the content is recognized by content access agent
       
   186 			@return					EFalse if the content is not recognized by a content access agent
       
   187 			*/
       
   188 			IMPORT_C TBool DoRecognizeL(const TDesC8& aHeader, TDes8& aFileMimeType, TDes8& aContentMimeType);
       
   189 #endif //#ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT	
   166 
   190 
   167 			/** Find an agent by it's Uid */
   191 			/** Find an agent by it's Uid */
   168 			CAgentInfo& AgentInfoL(const TUid& aUid) const;
   192 			CAgentInfo& AgentInfoL(const TUid& aUid) const;
   169 			
   193 			
   170 			/** Find an agent by it's name */
   194 			/** Find an agent by it's name */