equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2003-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
19 // INCLUDE FILES |
19 // INCLUDE FILES |
20 #include <coeutils.h> |
20 #include <coeutils.h> |
21 #include <avkon.rsg> |
21 #include <avkon.rsg> |
22 #include <akntitle.h> |
22 #include <akntitle.h> |
23 #include <aknview.h> |
23 #include <aknview.h> |
24 #include <aknviewappui.h> |
24 #include <aknViewAppUi.h> |
25 #include <stringloader.h> |
25 #include <StringLoader.h> |
26 #include <eikbtgpc.h> |
26 #include <eikbtgpc.h> |
27 |
27 |
28 #include <drmrightsmanager.rsg> |
28 #include <DRMRightsManager.rsg> |
29 |
29 |
30 #include "drmrightsmgrdetailsview.h" |
30 #include "DRMRightsMgrDetailsView.h" |
31 #include "drmcommonutilities.h" |
31 #include "DRMCommonUtilities.h" |
32 #include "drmrightsmgrappui.h" |
32 #include "DRMRightsMgrAppUi.h" |
33 #include "drmrightsmanager.hrh" |
33 #include "DRMRightsManager.hrh" |
34 #include "drmutilitywmdrmutilities.h" |
34 #include "drmutilitywmdrmutilities.h" |
35 #include "drmutilityinternaltypes.h" |
35 #include "drmutilityinternaltypes.h" |
36 |
36 |
37 #ifdef _DEBUG |
37 #ifdef _DEBUG |
38 _LIT(KDRMUIDoActivateError, "DoActivateL"); |
38 _LIT(KDRMUIDoActivateError, "DoActivateL"); |
334 default: |
334 default: |
335 rights.iStatus = EDRMUIStatusExpired; |
335 rights.iStatus = EDRMUIStatusExpired; |
336 break; |
336 break; |
337 } |
337 } |
338 |
338 |
339 #ifdef RD_DRM_COMMON_INTERFACE_FOR_OMA_AND_WMDRM |
|
340 |
|
341 DrmUtilityWmDrmUtilities::ParseWmDrmStringL( *aRights[0], |
339 DrmUtilityWmDrmUtilities::ParseWmDrmStringL( *aRights[0], |
342 rights.iPlayConstraint ); |
340 rights.iPlayConstraint ); |
343 #endif |
|
344 |
|
345 } |
341 } |
346 else |
342 else |
347 { |
343 { |
348 // WMDRM agent returned an empty array of rights. |
344 // WMDRM agent returned an empty array of rights. |
349 // The rights can be missing or expired -> show |
345 // The rights can be missing or expired -> show |