equal
deleted
inserted
replaced
27 |
27 |
28 #include <e32base.h> |
28 #include <e32base.h> |
29 #include "rtamessagehandler.h" |
29 #include "rtamessagehandler.h" |
30 #include "clientserver.h" |
30 #include "clientserver.h" |
31 #include "RTAserver.h" |
31 #include "RTAserver.h" |
|
32 |
|
33 #ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT |
|
34 #include "wmdrmcontentparser.h" |
|
35 #endif //SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT |
32 |
36 |
33 namespace ReferenceTestAgent |
37 namespace ReferenceTestAgent |
34 { |
38 { |
35 class CRefTestAgentArchive; |
39 class CRefTestAgentArchive; |
36 class CDrmFileContent; |
40 class CDrmFileContent; |
76 * object in the message passed using IPC when file handle is adopted from the client. |
80 * object in the message passed using IPC when file handle is adopted from the client. |
77 * Otherwise these will represent file path and unique id of the content object respectively. |
81 * Otherwise these will represent file path and unique id of the content object respectively. |
78 */ |
82 */ |
79 void OpenContentObjectL(const RMessage2& aMessage, TInt aUriOrFileSession, TInt aUniqueIdOrFileHandle); |
83 void OpenContentObjectL(const RMessage2& aMessage, TInt aUriOrFileSession, TInt aUniqueIdOrFileHandle); |
80 void WriteCDirToMessageL(const RMessage2& aMessage, TInt aParam, CDir& aDir); |
84 void WriteCDirToMessageL(const RMessage2& aMessage, TInt aParam, CDir& aDir); |
|
85 #ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT |
|
86 void GetWMDRMAttributeL(const RMessage2& aMessage); |
|
87 void GetWMDRMStringAttributeL(const RMessage2& aMessage); |
|
88 void GetWMDRMAttributeSetL(const RMessage2& aMessage); |
|
89 void GetWMDRMStringAttributeSetL(const RMessage2& aMessage); |
|
90 |
|
91 void OpenWmdrmContentObjectL(const RMessage2& aMessage, TInt aParameter); |
|
92 #endif //SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT |
|
93 |
81 private: |
94 private: |
82 #ifdef SYMBIAN_ENABLE_64_BIT_FILE_SERVER_API |
95 #ifdef SYMBIAN_ENABLE_64_BIT_FILE_SERVER_API |
83 RFile64 iFile; |
96 RFile64 iFile; |
84 #else |
97 #else |
85 RFile iFile; |
98 RFile iFile; |
87 |
100 |
88 CRefTestAgentArchive* iArchive; |
101 CRefTestAgentArchive* iArchive; |
89 |
102 |
90 // this pointer should not be deleted since it points to something owned by iArchive |
103 // this pointer should not be deleted since it points to something owned by iArchive |
91 CDrmFileContent* iContentObject; |
104 CDrmFileContent* iContentObject; |
|
105 #ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT |
|
106 CWmdrmContentParser* iWmdrmContentObject; |
|
107 #endif //SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT |
92 }; |
108 }; |
93 |
109 |
94 } //namespace |
110 } //namespace |
95 |
111 |
96 |
112 |