commondrm/drmrightsmanagerui/src/DRMRightsMgrDetailsView.cpp
branchRCL_3
changeset 13 a20e54f39dd4
parent 12 8a03a285ab14
child 24 99ea7534c5ab
equal deleted inserted replaced
12:8a03a285ab14 13:a20e54f39dd4
     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".
   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