psln/Inc/PslnDRMImplementation.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 27 May 2010 13:07:04 +0300
changeset 26 62ef28f7b435
parent 0 2f259fa3e83a
permissions -rw-r--r--
Revision: 201019 Kit: 2010121

/*
* Copyright (c) 2004-2006 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  Implementation for DRM functionality.
*
*/


#ifndef PSLNDRMIMPLEMENTATION_H
#define PSLNDRMIMPLEMENTATION_H

#include <e32base.h>
#include <MMGFetchVerifier.h>

class CDRMHelper;

/**
* Implementation for DRM functionality.
*
* @since 2.6
*/
class CPslnDRMImplementation : public CBase, public MMGFetchVerifier
    {
    public:
        
        /**
        * Two-phased constructor.
        */
        static CPslnDRMImplementation* NewL();
        
        /**
        * Destructor.
        */
        ~CPslnDRMImplementation();

        /**
        * From MFLDFileObserver.
        */
        TBool VerifySelectionL( const MDesCArray* aSelectedFiles );
        
           /* Shows error note. */
        static void ShowErrorNoteL( TInt  aResourceId  );
     
    private:

        /**
        * C++ default constructor.
        */
        CPslnDRMImplementation();

        /**
        * By default Symbian 2nd phase constructor is private.
        */
        void ConstructL();

     

    private:    // Data
    
        /**
        * DRM helper.
        * Own.
        */
        CDRMHelper* iDRMHelper;
        
    };

#endif // PSLNDRMIMPLEMENTATION_H
            
// End of File