53 IMPORT_C TInt GetAttribute (TInt aAttribute, TInt &aValue) const; |
53 IMPORT_C TInt GetAttribute (TInt aAttribute, TInt &aValue) const; |
54 IMPORT_C TInt GetAttributeSet (ContentAccess::RAttributeSet &aAttributeSet) const; |
54 IMPORT_C TInt GetAttributeSet (ContentAccess::RAttributeSet &aAttributeSet) const; |
55 IMPORT_C TInt GetStringAttribute (TInt aAttribute, TDes &aValue) const; |
55 IMPORT_C TInt GetStringAttribute (TInt aAttribute, TDes &aValue) const; |
56 IMPORT_C TInt GetStringAttributeSet (ContentAccess::RStringAttributeSet &aStringAttributeSet) const; |
56 IMPORT_C TInt GetStringAttributeSet (ContentAccess::RStringAttributeSet &aStringAttributeSet) const; |
57 IMPORT_C TInt SetProperty(ContentAccess::TAgentProperty aProperty, TInt aValue) const; |
57 IMPORT_C TInt SetProperty(ContentAccess::TAgentProperty aProperty, TInt aValue) const; |
|
58 #ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT |
|
59 IMPORT_C TInt Open(const TDesC8& aHeaderData); |
|
60 IMPORT_C TInt Read(const TDesC8& aEncryptedInputPacket, TDes8& aDecryptedOutputPacket); |
|
61 IMPORT_C TInt GetWmdrmAttribute(TInt aAttribute, TInt &aValue) const; |
|
62 IMPORT_C TInt GetWmdrmAttributeSet(ContentAccess::RAttributeSet &aAttributeSet) const; |
|
63 IMPORT_C TInt GetWmdrmStringAttribute(TInt aAttribute, TDes &aValue) const; |
|
64 IMPORT_C TInt GetWmdrmStringAttributeSet(ContentAccess::RStringAttributeSet &aStringAttributeSet) const; |
|
65 #endif //SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT |
58 |
66 |
59 private: |
67 private: |
60 void GetAttributeSetL (ContentAccess::RAttributeSet &aAttributeSet) const; |
68 #ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT |
61 void GetStringAttributeSetL (ContentAccess::RStringAttributeSet &aStringAttributeSet) const; |
69 void GetAttributeSetL (ContentAccess::RAttributeSet &aAttributeSet, TBool aWmdrmFlag = EFalse) const; |
|
70 void GetStringAttributeSetL (ContentAccess::RStringAttributeSet &aStringAttributeSet, TBool aWmdrmFlag = EFalse) const; |
|
71 #else |
|
72 void GetAttributeSetL (ContentAccess::RAttributeSet &aAttributeSet) const; |
|
73 void GetStringAttributeSetL (ContentAccess::RStringAttributeSet &aStringAttributeSet) const; |
|
74 #endif //SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT |
|
75 |
62 }; |
76 }; |
63 } // namespace |
77 } // namespace |
64 #endif |
78 #endif |