equal
deleted
inserted
replaced
50 |
50 |
51 // Two phase constructor used when the file is opened with |
51 // Two phase constructor used when the file is opened with |
52 // a file handle |
52 // a file handle |
53 static CF32AgentContent* NewL(RFile& aFile); |
53 static CF32AgentContent* NewL(RFile& aFile); |
54 |
54 |
55 #ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT |
|
56 static CF32AgentContent* NewL(const TDesC8& aHeaderData); |
|
57 #endif //SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT |
|
58 |
|
59 virtual ~CF32AgentContent(); |
55 virtual ~CF32AgentContent(); |
60 |
56 |
61 public: |
57 public: |
62 // From CAgentContent |
58 // From CAgentContent |
63 virtual TInt OpenContainer(const TDesC& aUniqueId); |
59 virtual TInt OpenContainer(const TDesC& aUniqueId); |
80 |
76 |
81 private: |
77 private: |
82 CF32AgentContent(); |
78 CF32AgentContent(); |
83 void ConstructL(const TDesC& aURI, TContentShareMode aShareMode); |
79 void ConstructL(const TDesC& aURI, TContentShareMode aShareMode); |
84 void ConstructL(RFile& aFile); |
80 void ConstructL(RFile& aFile); |
85 #ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT |
81 |
86 void ConstructL(const TDesC8& aHeaderData); |
|
87 #endif //SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT |
|
88 |
|
89 CF32AgentUi& AgentUiL(); |
82 CF32AgentUi& AgentUiL(); |
90 void SearchL(RStreamablePtrArray<CEmbeddedObject>& aArray, const TDesC8& aMimeType, TBool aRecursive); |
83 void SearchL(RStreamablePtrArray<CEmbeddedObject>& aArray, const TDesC8& aMimeType, TBool aRecursive); |
91 |
84 |
92 private: |
85 private: |
93 HBufC* iURI; |
86 HBufC* iURI; |
97 RFile64 iFile; |
90 RFile64 iFile; |
98 #else |
91 #else |
99 RFile iFile; |
92 RFile iFile; |
100 #endif //SYMBIAN_ENABLE_64_BIT_FILE_SERVER_API |
93 #endif //SYMBIAN_ENABLE_64_BIT_FILE_SERVER_API |
101 CF32AgentUi* iAgentUi; |
94 CF32AgentUi* iAgentUi; |
102 #ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT |
|
103 HBufC8* iHeaderData; |
|
104 #endif //SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT |
|
105 }; |
95 }; |
106 } // namespace ContentAccess |
96 } // namespace ContentAccess |
107 #endif // __F32AgentContent_H__ |
97 #endif // __F32AgentContent_H__ |