equal
deleted
inserted
replaced
22 #include <e32math.h> |
22 #include <e32math.h> |
23 #include <apmstd.h> |
23 #include <apmstd.h> |
24 #include <utf.h> |
24 #include <utf.h> |
25 #include <stringpool.h> |
25 #include <stringpool.h> |
26 #include <xml/parserfeature.h> |
26 #include <xml/parserfeature.h> |
27 #include "DrmRights.h" |
27 #include "DRMRights.h" |
28 #include "DcfCommon.h" |
28 #include "DcfCommon.h" |
29 #include "DrmRightsParser.h" |
29 #include "DrmRightsParser.h" |
30 #include "DrmRightsClient.h" |
30 #include "DRMRightsClient.h" |
31 #include "hash.h" |
31 #include "hash.h" |
32 #include "base64.h" |
32 #include "Base64.h" |
33 #include "DRMPermission.h" |
33 #include "DrmPermission.h" |
34 #include "DRMConstraint.h" |
34 #include "DrmConstraint.h" |
35 #include "DRMClockClient.h" |
35 #include "DRMClockClient.h" |
36 |
36 |
37 // MODULE DATA STRUCTURES |
37 // MODULE DATA STRUCTURES |
38 enum TElementEnum |
38 enum TElementEnum |
39 { |
39 { |
1214 User::Leave( KErrArgument ); |
1214 User::Leave( KErrArgument ); |
1215 } |
1215 } |
1216 iRights->iCurrentConstraint->iDrmMeteringInfo->iGraceTime = n; |
1216 iRights->iCurrentConstraint->iDrmMeteringInfo->iGraceTime = n; |
1217 |
1217 |
1218 CleanupStack::PopAndDestroy( b ); |
1218 CleanupStack::PopAndDestroy( b ); |
1219 b = NULL; |
1219 b = NULL; |
1220 } |
1220 } |
1221 b = GetAttributeValueL( aAttributes, KContentAccessGrantedAttribute ); |
1221 b = GetAttributeValueL( aAttributes, KContentAccessGrantedAttribute ); |
1222 // put value to content access granted without metering |
1222 // put value to content access granted without metering |
1223 if ( b && !b->CompareF( KContentAccessGrantedValueTrue ) ) |
1223 if ( b && !b->CompareF( KContentAccessGrantedValueTrue ) ) |
1224 { |
1224 { |