phoneengine/phonemodel/inc/cpecalldurationdisplaysettingmonitor.h
changeset 37 ba76fc04e6c2
child 51 f39ed5e045e0
equal deleted inserted replaced
36:2eacb6118286 37:ba76fc04e6c2
       
     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 file contains the header of the phone engine base 
       
    15 *                central repository monitor class
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef CPECALLDURATIONDISPLAYSETTINGMONITOR_H
       
    21 #define CPECALLDURATIONDISPLAYSETTINGMONITOR_H
       
    22 
       
    23 // INCLUDE FILES
       
    24 #include "cpecenrepmonitor.h"
       
    25 
       
    26 // CLASS DECLARATION
       
    27 
       
    28 /**
       
    29 *   CPECallDurationDisplaySettingMonitor
       
    30 *   Retrieves call duration display setting from the central repository
       
    31 *
       
    32 *  @lib PhoneEngineBase.lib
       
    33 *  @since Series60_4.0
       
    34 */
       
    35 NONSHARABLE_CLASS( CPECallDurationDisplaySettingMonitor ) : public CPECenRepMonitor
       
    36 {
       
    37 public:
       
    38     static CPECallDurationDisplaySettingMonitor* NewL();
       
    39     ~CPECallDurationDisplaySettingMonitor();
       
    40     TInt GetValue(TInt& aValue);
       
    41 protected: // From base class
       
    42     virtual void UpdateL();
       
    43 protected:
       
    44     CPECallDurationDisplaySettingMonitor();
       
    45     void ConstructL();
       
    46 private:
       
    47     TBool iDisplayCallDuration;
       
    48     TInt iError;
       
    49 };
       
    50 
       
    51 #endif // CPECALLDURATIONDISPLAYSETTINGMONITOR_H