contentmgmt/contentaccessfwfordrm/inc/attribute.h
branchRCL_3
changeset 95 641f389e9157
parent 53 030c4fbc13d7
child 96 a71299154b21
--- a/contentmgmt/contentaccessfwfordrm/inc/attribute.h	Thu Aug 19 11:38:48 2010 +0300
+++ b/contentmgmt/contentaccessfwfordrm/inc/attribute.h	Tue Aug 31 17:00:08 2010 +0300
@@ -86,6 +86,20 @@
 		 @released
 		 */
 		static CAttribute* NewLC(TUid aAgentUid, const TDesC& aURI, TContentShareMode aShareMode=EContentShareReadOnly);
+
+#ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT		
+		/**
+		 Constructs a new attribute given an agent and WMDRM header data.
+		 
+		 @param aAgentUid	The agent Uid
+		 @param aHeaderData	Header data of WMDRM content
+		 @return			The new CAttribute.
+		 
+		 @internalComponent
+		 @released		 
+		 */
+		static CAttribute* NewLC(TUid aAgentUid, const TDesC8& aHeaderData);
+#endif //SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT
 		
 		virtual ~CAttribute();
 
@@ -133,6 +147,10 @@
 		void ConstructL(TUid aAgentUid, RFile& aFile);
 		void ConstructL(TUid aAgentUid, const TDesC& aURI, TContentShareMode aShareMode=EContentShareReadOnly);
 
+#ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT
+		void ConstructL(TUid aAgentUid, const TDesC8& aHeaderData);
+#endif //SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT
+	
 		CAttribute();
 				
 	private: