equal
deleted
inserted
replaced
35 // Two phase constructor used when the file is opened with |
35 // Two phase constructor used when the file is opened with |
36 // a file handle |
36 // a file handle |
37 static CRefTestAgentContent* NewL(RFile& aFile); |
37 static CRefTestAgentContent* NewL(RFile& aFile); |
38 static CRefTestAgentContent* NewLC(RFile& aFile); |
38 static CRefTestAgentContent* NewLC(RFile& aFile); |
39 |
39 |
|
40 #ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT |
|
41 static CRefTestAgentContent* NewL(const TDesC8& aHeaderData); |
|
42 static CRefTestAgentContent* NewLC(const TDesC8& aHeaderData); |
|
43 #endif //SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT |
|
44 |
40 virtual ~CRefTestAgentContent(); |
45 virtual ~CRefTestAgentContent(); |
41 |
46 |
42 public: |
47 public: |
43 // From CAgentContent |
48 // From CAgentContent |
44 virtual TInt OpenContainer(const TDesC& aUniqueId); |
49 virtual TInt OpenContainer(const TDesC& aUniqueId); |
61 |
66 |
62 private: |
67 private: |
63 CRefTestAgentContent(); |
68 CRefTestAgentContent(); |
64 void ConstructL(const TDesC& aURI, ContentAccess::TContentShareMode aShareMode); |
69 void ConstructL(const TDesC& aURI, ContentAccess::TContentShareMode aShareMode); |
65 void ConstructL(RFile& aFile); |
70 void ConstructL(RFile& aFile); |
|
71 |
|
72 #ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT |
|
73 void ConstructL(const TDesC8& aHeaderData); |
|
74 #endif //SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT |
66 |
75 |
67 private: |
76 private: |
68 ReferenceTestAgent::RRtaContent iContentSession; |
77 ReferenceTestAgent::RRtaContent iContentSession; |
|
78 |
|
79 #ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT |
|
80 HBufC8* iHeaderData; |
|
81 #endif //SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT |
|
82 |
69 }; |
83 }; |
70 #endif // __REFTestAgentContent_H__ |
84 #endif // __REFTestAgentContent_H__ |