contentmgmt/referencedrmagent/RefTestAgent/inc/rtadata.h
changeset 15 da2ae96f639b
parent 8 35751d3474b7
child 33 cf642210ecb7
--- a/contentmgmt/referencedrmagent/RefTestAgent/inc/rtadata.h	Fri Oct 02 13:15:59 2009 +0300
+++ b/contentmgmt/referencedrmagent/RefTestAgent/inc/rtadata.h	Mon Oct 12 10:17:04 2009 +0300
@@ -55,10 +55,24 @@
 		IMPORT_C TInt GetStringAttribute (TInt aAttribute, TDes &aValue) const; 
 		IMPORT_C TInt GetStringAttributeSet (ContentAccess::RStringAttributeSet &aStringAttributeSet) const; 
 		IMPORT_C TInt SetProperty(ContentAccess::TAgentProperty aProperty, TInt aValue) const;
+#ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT
+        IMPORT_C TInt Open(const TDesC8& aHeaderData);
+        IMPORT_C TInt Read(const TDesC8& aEncryptedInputPacket, TDes8& aDecryptedOutputPacket);
+        IMPORT_C TInt GetWmdrmAttribute(TInt aAttribute, TInt &aValue) const;
+        IMPORT_C TInt GetWmdrmAttributeSet(ContentAccess::RAttributeSet &aAttributeSet) const;
+        IMPORT_C TInt GetWmdrmStringAttribute(TInt aAttribute, TDes &aValue) const;
+        IMPORT_C TInt GetWmdrmStringAttributeSet(ContentAccess::RStringAttributeSet &aStringAttributeSet) const;
+#endif //SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT
 		
 	private:
-		void GetAttributeSetL (ContentAccess::RAttributeSet &aAttributeSet) const; 
-		void GetStringAttributeSetL (ContentAccess::RStringAttributeSet &aStringAttributeSet) const; 
+#ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT
+        void GetAttributeSetL (ContentAccess::RAttributeSet &aAttributeSet, TBool aWmdrmFlag = EFalse) const;
+        void GetStringAttributeSetL (ContentAccess::RStringAttributeSet &aStringAttributeSet, TBool aWmdrmFlag = EFalse) const;
+#else
+		void GetAttributeSetL (ContentAccess::RAttributeSet &aAttributeSet) const;
+		void GetStringAttributeSetL (ContentAccess::RStringAttributeSet &aStringAttributeSet) const;
+#endif //SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT
+
 		};
 	} // namespace
 #endif