phoneengine/phonemodel/inc/cpeincallloudspeakervolumesettingmonitor.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 CPEINCALLLOUDSPEAKERVOLUMESETTINGMONITOR_H
       
    21 #define CPEINCALLLOUDSPEAKERVOLUMESETTINGMONITOR_H
       
    22 
       
    23 // INCLUDE FILES
       
    24 #include "cpecenrepmonitor.h"
       
    25 
       
    26 // Forward declarations
       
    27 class MPEPhoneModelInternal;
       
    28 
       
    29 /**
       
    30 *   CPEIncallLoudspeakerVolumeSettingMonitor
       
    31 *   For set/get of the phone ear volume setting (KTelIncallLoudspeakerVolume)
       
    32 *   from the central repository 
       
    33 *
       
    34 *  @lib PhoneEngine.lib
       
    35 */
       
    36 NONSHARABLE_CLASS( CPEIncallLoudspeakerVolumeSettingMonitor ) : public CPECenRepMonitor
       
    37 {
       
    38 public:
       
    39     static CPEIncallLoudspeakerVolumeSettingMonitor* NewL( 
       
    40         MPEPhoneModelInternal& aModel );
       
    41     ~CPEIncallLoudspeakerVolumeSettingMonitor();
       
    42 public:
       
    43     TInt Set( TInt aValue );
       
    44 protected: // From base class
       
    45 	virtual void UpdateL();
       
    46 protected:
       
    47     CPEIncallLoudspeakerVolumeSettingMonitor( MPEPhoneModelInternal& aModel );
       
    48     void ConstructL();    
       
    49 private:
       
    50     MPEPhoneModelInternal& iModel;
       
    51     TBool iUpdateInProgress;
       
    52 };
       
    53 
       
    54 #endif // CPEINCALLLOUDSPEAKERVOLUMESETTINGMONITOR_H