mmfenh/enhancedmediaclient/Plugins/DataBufferSource/inc/DRMConfigIntfcImpl.h
changeset 0 71ca22bcf22a
equal deleted inserted replaced
-1:000000000000 0:71ca22bcf22a
       
     1 /*
       
     2 * Copyright (c) 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:  Header of DRMConfigIntfcImpl object.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef DRMCONFIGINTFCIMPL_H_
       
    20 #define DRMCONFIGINTFCIMPL_H_
       
    21 
       
    22 #include <e32base.h>
       
    23 #include <DRMConfigIntfc.h>
       
    24 #include "ParentChildIntfc.h"
       
    25 
       
    26 
       
    27 class CDataBufferMultimediaSource;
       
    28 
       
    29 class CDRMConfigIntcfImpl : public CBase,
       
    30                             public CDRMConfigIntfc,
       
    31                             public CChildIntfc
       
    32     {
       
    33 public:
       
    34     static CDRMConfigIntcfImpl* NewL( CDataBufferMultimediaSource& aDRMHandler );
       
    35     ~CDRMConfigIntcfImpl();
       
    36     TInt GetDRMType( TDRMType& aDRMType );
       
    37     TInt GetAllowedOutputDeviceCount( TInt& aCount );
       
    38     TInt GetAllowedOutputDevice(
       
    39                     TInt aIndex,
       
    40                     TDRMAllowedOutputDevice& aOutputDevice );
       
    41 
       
    42 private:
       
    43     CDRMConfigIntcfImpl( CDataBufferMultimediaSource& aDRMHandler );
       
    44     void ConstructL();
       
    45 
       
    46 private:
       
    47     CDataBufferMultimediaSource* iDRMHandler;
       
    48     };
       
    49 
       
    50 #endif /*DRMCONFIGINTFCIMPL_H_*/
       
    51 
       
    52 // End of file