javauis/amms_akn/src_tuner/native/inc/cammstunervolumecontrol.h
branchRCL_3
changeset 83 26b2b12093af
parent 19 04becd199f91
equal deleted inserted replaced
77:7cee158cb8cd 83:26b2b12093af
       
     1 /*
       
     2 * Copyright (c) 2005 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:  This class is used for setting volume to tuner player
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CAMMSTUNERVOLUMECONTROL_H
       
    20 #define CAMMSTUNERVOLUMECONTROL_H
       
    21 
       
    22 //  INCLUDES
       
    23 #include <e32base.h>
       
    24 
       
    25 #include <CMMAVolumeControl.h>
       
    26 
       
    27 // FORWARD DECLARATIONS
       
    28 class CAMMSTunerPlayer;
       
    29 
       
    30 // CLASS DECLARATION
       
    31 /**
       
    32 *  This class is used for setting volume to tuner player
       
    33 */
       
    34 
       
    35 NONSHARABLE_CLASS(CAMMSTunerVolumeControl) : public CMMAVolumeControl
       
    36 {
       
    37 public:  // Constructor
       
    38     static CAMMSTunerVolumeControl* NewL(CAMMSTunerPlayer* aTunerPlayer);
       
    39 
       
    40 public: // functions from base classes
       
    41 
       
    42     // from CMMAVolumeControl
       
    43 
       
    44     void DoSetLevelL(TInt aLevel);
       
    45 
       
    46 private:
       
    47 
       
    48     /**
       
    49     * C++ default constructor.
       
    50     */
       
    51     CAMMSTunerVolumeControl(CAMMSTunerPlayer* aTunerPlayer);
       
    52 
       
    53 
       
    54 private:    // Data
       
    55 
       
    56     CAMMSTunerPlayer* iTunerPlayer;
       
    57 };
       
    58 
       
    59 #endif // CAMMSTUNERVOLUMECONTROL_H
       
    60 
       
    61 // End of File