equal
deleted
inserted
replaced
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 |
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 |
94 /** 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. |
95 |
104 |
96 If the aUri is of the form "c:\\private\\agent_name\\" |
105 If the aUri is of the form "c:\\private\\agent_name\\" |
97 it will be translated to the form "c:\\private\\SID\\" in |
106 it will be translated to the form "c:\\private\\SID\\" in |
98 aActualUri. Otherwise the aUri is just copied to aActualUri |
107 aActualUri. Otherwise the aUri is just copied to aActualUri |
162 * @note Planning to remove this from the CAF API |
171 * @note Planning to remove this from the CAF API |
163 * |
172 * |
164 * @return An array of consumer MIME types supported by CAF agents. |
173 * @return An array of consumer MIME types supported by CAF agents. |
165 */ |
174 */ |
166 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 |
167 |
190 |
168 /** Find an agent by it's Uid */ |
191 /** Find an agent by it's Uid */ |
169 CAgentInfo& AgentInfoL(const TUid& aUid) const; |
192 CAgentInfo& AgentInfoL(const TUid& aUid) const; |
170 |
193 |
171 /** Find an agent by it's name */ |
194 /** Find an agent by it's name */ |