equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2003 - 2007,2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2003 - 2007,2009-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of the License "Eclipse Public License v1.0" |
5 * under the terms of the License "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
116 |
116 |
117 @param aVirtualPath The content object to read from |
117 @param aVirtualPath The content object to read from |
118 @param aShareMode The share mode for opening the file containing the content object |
118 @param aShareMode The share mode for opening the file containing the content object |
119 @return A pointer to the CAgentData object. |
119 @return A pointer to the CAgentData object. |
120 */ |
120 */ |
121 virtual CAgentData* CreateDataConsumerL(const TVirtualPathPtr& aVirtualPath, TContentShareMode aShareMode) = 0; |
121 virtual CAgentData* CreateDataConsumerL(const TVirtualPathPtr& aVirtualPath, TContentShareMode aShareMode) = 0; |
122 |
122 |
123 /** |
123 /** |
124 Factory function creates a CAgentData object for reading |
124 Factory function creates a CAgentData object for reading |
125 from a content object. |
125 from a content object. |
126 |
126 |
179 for reading/decrypting WMDRM data packets. |
179 for reading/decrypting WMDRM data packets. |
180 |
180 |
181 @param aHeaderData Header data of WMDRM file or stream content. |
181 @param aHeaderData Header data of WMDRM file or stream content. |
182 @return A pointer to CAgentData object. |
182 @return A pointer to CAgentData object. |
183 */ |
183 */ |
184 virtual CAgentData* CreateDataConsumerL(const TDesC8& aHeaderData); |
184 IMPORT_C virtual CAgentData* CreateDataConsumerL(const TDesC8& aHeaderData); |
185 |
185 |
186 /** |
186 /** |
187 Factory function creates a CAgentContent object from header data of WMDRM file or stream content |
187 Factory function creates a CAgentContent object from header data of WMDRM file or stream content |
188 for browsing WMDRM content. |
188 for browsing WMDRM content. |
189 |
189 |
190 @param aHeaderData Header data of WMDRM file or stream content. |
190 @param aHeaderData Header data of WMDRM file or stream content. |
191 @return A pointer to CAgentContent object. |
191 @return A pointer to CAgentContent object. |
192 */ |
192 */ |
193 virtual CAgentContent* CreateContentBrowserL(const TDesC8& aHeaderData); |
193 IMPORT_C virtual CAgentContent* CreateContentBrowserL(const TDesC8& aHeaderData); |
194 #endif //SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT |
194 #endif //SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT |
195 |
195 |
196 private: |
196 private: |
197 // ECOM session key. This is set by |
197 // ECOM session key. This is set by |
198 // REComSession::CreateImplementationL() during construction |
198 // REComSession::CreateImplementationL() during construction |