phoneengine/phonemodel/inc/cpeincallearvolumesettingmonitor.h
changeset 0 5f000ab63145
child 21 92ab7f8d0eab
equal deleted inserted replaced
-1:000000000000 0:5f000ab63145
       
     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:  This file contains the header of the phone engine base 
       
    15 *                central repository monitor class
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef CPEINCALLEARVOLUMESETTINGMONITOR_H
       
    21 #define CPEINCALLEARVOLUMESETTINGMONITOR_H
       
    22 
       
    23 // INCLUDE FILES
       
    24 #include "cpecenrepmonitor.h"
       
    25 
       
    26 // Forward declarations
       
    27 class MPEPhoneModelInternal;
       
    28 
       
    29 /**
       
    30 *   CPEIncallEarVolumeSettingMonitor
       
    31 *   For set/get of the phone ear volume setting (KTelIncallEarVolume) from 
       
    32 *   the central repository 
       
    33 *
       
    34 *  @lib PhoneEngine.lib
       
    35 */
       
    36 NONSHARABLE_CLASS( CPEIncallEarVolumeSettingMonitor ) : public CPECenRepMonitor
       
    37 {
       
    38 public:
       
    39     static CPEIncallEarVolumeSettingMonitor* NewL( MPEPhoneModelInternal& aModel );
       
    40     ~CPEIncallEarVolumeSettingMonitor();
       
    41 public:
       
    42     TInt Set( TInt aValue );
       
    43 protected: // From base class
       
    44 	virtual void UpdateL();
       
    45 protected:
       
    46     CPEIncallEarVolumeSettingMonitor( MPEPhoneModelInternal& aModel );
       
    47     void ConstructL();    
       
    48 private:
       
    49     MPEPhoneModelInternal& iModel;
       
    50     TBool iUpdateInProgress;
       
    51 };
       
    52 
       
    53 #endif // CPEINCALLEARVOLUMESETTINGMONITOR_H