psln/Inc/PslnDRMImplementation.h
changeset 37 89c890c70182
parent 34 6b5204869ed5
child 45 667edd0b8678
equal deleted inserted replaced
34:6b5204869ed5 37:89c890c70182
     1 /*
       
     2 * Copyright (c) 2004-2006 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Implementation for DRM functionality.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef PSLNDRMIMPLEMENTATION_H
       
    20 #define PSLNDRMIMPLEMENTATION_H
       
    21 
       
    22 #include <e32base.h>
       
    23 #include <MMGFetchVerifier.h>
       
    24 
       
    25 class CDRMHelper;
       
    26 
       
    27 /**
       
    28 * Implementation for DRM functionality.
       
    29 *
       
    30 * @since 2.6
       
    31 */
       
    32 class CPslnDRMImplementation : public CBase, public MMGFetchVerifier
       
    33     {
       
    34     public:
       
    35         
       
    36         /**
       
    37         * Two-phased constructor.
       
    38         */
       
    39         static CPslnDRMImplementation* NewL();
       
    40         
       
    41         /**
       
    42         * Destructor.
       
    43         */
       
    44         ~CPslnDRMImplementation();
       
    45 
       
    46         /**
       
    47         * From MFLDFileObserver.
       
    48         */
       
    49         TBool VerifySelectionL( const MDesCArray* aSelectedFiles );
       
    50         
       
    51            /* Shows error note. */
       
    52         static void ShowErrorNoteL( TInt  aResourceId  );
       
    53      
       
    54     private:
       
    55 
       
    56         /**
       
    57         * C++ default constructor.
       
    58         */
       
    59         CPslnDRMImplementation();
       
    60 
       
    61         /**
       
    62         * By default Symbian 2nd phase constructor is private.
       
    63         */
       
    64         void ConstructL();
       
    65 
       
    66      
       
    67 
       
    68     private:    // Data
       
    69     
       
    70         /**
       
    71         * DRM helper.
       
    72         * Own.
       
    73         */
       
    74         CDRMHelper* iDRMHelper;
       
    75         
       
    76     };
       
    77 
       
    78 #endif // PSLNDRMIMPLEMENTATION_H
       
    79             
       
    80 // End of File