equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2002-2008 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2002-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". |
25 #include <eikenv.h> |
25 #include <eikenv.h> |
26 #include <data_caging_path_literals.hrh> |
26 #include <data_caging_path_literals.hrh> |
27 #include <SWInstCommonUI.rsg> |
27 #include <SWInstCommonUI.rsg> |
28 #include <pathinfo.h> |
28 #include <pathinfo.h> |
29 #include <avkon.rsg> |
29 #include <avkon.rsg> |
30 #include <DRMHelper.h> |
30 #include <drmuihandling.h> // DRM::CDrmUiHandling |
31 |
31 |
32 #include "CUIDetailsDialog.h" |
32 #include "CUIDetailsDialog.h" |
33 #include "CUICertificateDetailsDialog.h" |
33 #include "CUICertificateDetailsDialog.h" |
34 #include "CUIUtils.h" |
34 #include "CUIUtils.h" |
35 |
35 |
529 // (other items were commented in a header). |
529 // (other items were commented in a header). |
530 // ----------------------------------------------------------------------------- |
530 // ----------------------------------------------------------------------------- |
531 // |
531 // |
532 void CCUIDetailsDialog::DoShowDrmL() |
532 void CCUIDetailsDialog::DoShowDrmL() |
533 { |
533 { |
534 CDRMHelper* helper = CDRMHelper::NewLC( *iCoeEnv ); |
534 DRM::CDrmUiHandling *drmUiHandler = DRM::CDrmUiHandling::NewLC(); |
535 helper->LaunchDetailsViewEmbeddedL( iFile ); |
535 drmUiHandler->ShowDetailsViewL( iFile ); |
536 CleanupStack::PopAndDestroy( helper ); |
536 CleanupStack::PopAndDestroy( drmUiHandler ); |
537 } |
537 } |
538 |
538 |
539 // ----------------------------------------------------------------------------- |
539 // ----------------------------------------------------------------------------- |
540 // CCUIDetailsDialog::LoadLinkLC |
540 // CCUIDetailsDialog::LoadLinkLC |
541 // Helper to construct a message query link from resource string. |
541 // Helper to construct a message query link from resource string. |