contentmgmt/contentaccessfwfordrm/inc/agentfactory.h
changeset 15 da2ae96f639b
parent 8 35751d3474b7
child 45 030c4fbc13d7
--- a/contentmgmt/contentaccessfwfordrm/inc/agentfactory.h	Fri Oct 02 13:15:59 2009 +0300
+++ b/contentmgmt/contentaccessfwfordrm/inc/agentfactory.h	Mon Oct 12 10:17:04 2009 +0300
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2003 - 2007 Nokia Corporation and/or its subsidiary(-ies).
+* Copyright (c) 2003 - 2007,2009 Nokia Corporation and/or its subsidiary(-ies).
 * All rights reserved.
 * This component and the accompanying materials are made available
 * under the terms of the License "Eclipse Public License v1.0"
@@ -173,6 +173,26 @@
 		*/
 		virtual CAgentRightsManager* CreateRightsManagerL() = 0;
 
+#ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT		
+		/**
+		Factory function creates a CAgentData object from header data of WMDRM file or stream content
+		for reading/decrypting WMDRM data packets.
+		 
+		@param aHeaderData	Header data of WMDRM file or stream content.
+		@return				A pointer to CAgentData object.
+		*/
+		virtual CAgentData* CreateDataConsumerL(const TDesC8& aHeaderData);
+		
+		/**
+		Factory function creates a CAgentContent object from header data of WMDRM file or stream content
+		for browsing WMDRM content.
+		 
+		@param aHeaderData	Header data of WMDRM file or stream content.
+		@return 			A pointer to CAgentContent object.
+		*/
+		virtual CAgentContent* CreateContentBrowserL(const TDesC8& aHeaderData);
+#endif //SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT
+
 	private:
 		// ECOM session key. This is set by 
 		// REComSession::CreateImplementationL() during construction