equal
deleted
inserted
replaced
18 |
18 |
19 |
19 |
20 /** |
20 /** |
21 @file |
21 @file |
22 |
22 |
23 @publishedPartner |
23 @publishedAll |
24 @released |
24 @released |
25 */ |
25 */ |
26 |
26 |
27 |
27 |
28 #ifndef __DATA_H__ |
28 #ifndef __DATA_H__ |
46 Allows clients to read data from a content object. |
46 Allows clients to read data from a content object. |
47 |
47 |
48 This class is initialised with an agent implementation that is |
48 This class is initialised with an agent implementation that is |
49 responsible for this content object. |
49 responsible for this content object. |
50 |
50 |
51 @publishedPartner |
|
52 @released |
|
53 */ |
51 */ |
54 class CData : public CBase |
52 class CData : public CBase |
55 { |
53 { |
56 public: |
54 public: |
57 /** |
55 /** |
245 @leave KErrPermissionDenied The agent does not allow the client to access the content object. |
243 @leave KErrPermissionDenied The agent does not allow the client to access the content object. |
246 @leave KErrAccessDenied The content is already in use. |
244 @leave KErrAccessDenied The content is already in use. |
247 @leave ... One of the other CAF error codes defined in \c caferr.h |
245 @leave ... One of the other CAF error codes defined in \c caferr.h |
248 or one of the other system-wide error codes |
246 or one of the other system-wide error codes |
249 for any other errors. |
247 for any other errors. |
250 |
|
251 @internalComponent |
|
252 @released |
|
253 */ |
248 */ |
254 static CData* NewLC(TUid aAgentUid, const TVirtualPathPtr& aVirtualPath, |
249 static CData* NewLC(TUid aAgentUid, const TVirtualPathPtr& aVirtualPath, |
255 TIntent aIntent, TContentShareMode aShareMode); |
250 TIntent aIntent, TContentShareMode aShareMode); |
256 |
251 |
257 /** |
252 /** |
273 @leave KErrAccessDenied The content is already in use. |
268 @leave KErrAccessDenied The content is already in use. |
274 @leave ... One of the other CAF error codes defined in \c caferr.h |
269 @leave ... One of the other CAF error codes defined in \c caferr.h |
275 or one of the other system-wide error codes for |
270 or one of the other system-wide error codes for |
276 any other errors. |
271 any other errors. |
277 |
272 |
278 @internalComponent |
|
279 @released |
|
280 */ |
273 */ |
281 static CData* NewLC(TUid aAgentUid, RFile& aFile, const TDesC& aUniqueId, TIntent aIntent); |
274 static CData* NewLC(TUid aAgentUid, RFile& aFile, const TDesC& aUniqueId, TIntent aIntent); |
282 |
275 |
283 #ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT |
276 #ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT |
284 |
277 |
340 @return CData object. |
333 @return CData object. |
341 @leave One of the CAF error codes defined in caferr.h or one of the |
334 @leave One of the CAF error codes defined in caferr.h or one of the |
342 system-wide error for any other errors. |
335 system-wide error for any other errors. |
343 @capability DRM Access to DRM protected content is not permitted for processes without DRM capability. |
336 @capability DRM Access to DRM protected content is not permitted for processes without DRM capability. |
344 Access to unprotected content is unrestricted. |
337 Access to unprotected content is unrestricted. |
345 @internalComponent |
338 |
346 @released |
|
347 */ |
339 */ |
348 |
340 |
349 static CData* NewLC(TUid aAgentUid, const TDesC8& aHeaderData, TIntent aIntent); |
341 static CData* NewLC(TUid aAgentUid, const TDesC8& aHeaderData, TIntent aIntent); |
350 |
342 |
351 #endif //SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT |
343 #endif //SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT |