mmfenh/audiooutputcontrolutility/inc/AudioOutputControlUtilityImpl.h
changeset 0 71ca22bcf22a
equal deleted inserted replaced
-1:000000000000 0:71ca22bcf22a
       
     1 /*
       
     2 * Copyright (c) 2007 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:  Audio Output Control Utility
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef AUDIOOUTPUTCONTROLUTILITYIMPL_H
       
    19 #define AUDIOOUTPUTCONTROLUTILITYIMPL_H
       
    20 
       
    21 //#include <DRMConfigIntfc.h>
       
    22 #include "AudioOutputControlUtility.h"
       
    23 
       
    24 
       
    25 /**
       
    26  * CAudioOutputControlUtilityImpl class documentation.
       
    27  *
       
    28  * @lib AudioOutputControlUtility.lib
       
    29  *
       
    30  * @since S60 5.0
       
    31  */
       
    32 class CAudioOutputControlUtilityImpl
       
    33 	{
       
    34 
       
    35 public:
       
    36 
       
    37     inline virtual ~CAudioOutputControlUtilityImpl();
       
    38 
       
    39     /**
       
    40      * Determines which audio restriction interface to implements accordingly.
       
    41      *
       
    42      * @return KErrNone if successful.
       
    43      */
       
    44     inline virtual TInt Configure(CMMFDevSound& /*aDevSound*/);
       
    45 
       
    46     /**
       
    47      * Gives DRMConfigIntfc to Utility for ownership.
       
    48      *
       
    49      * @return KErrNone if successful.
       
    50      */
       
    51     inline virtual TInt SetDRMConfigIntfc(CDRMConfigIntfc* /*aDRMConfigIntfc*/);
       
    52     
       
    53     /**
       
    54      * Gives MDataSource to Utility for reference. NOT OWNED
       
    55      *
       
    56      * @return KErrNone if successful.
       
    57      */
       
    58     inline virtual TInt SetDataSource(MDataSource* /*aDataSource*/);
       
    59     
       
    60     /**
       
    61      * Gives CMultimediaDataSource to Utility for reference. NOT OWNED
       
    62      *
       
    63      * @return KErrNone if successful.
       
    64      */
       
    65     inline virtual TInt SetDataSource(CMultimediaDataSource* /*aDataSource*/);
       
    66 	};
       
    67 
       
    68 #include "AudioOutputControlUtilityImpl.inl"
       
    69 
       
    70 #endif // AUDIOOUTPUTCONTROLUTILITYIMPL_H
       
    71 
       
    72 // End of file