phoneapp/phoneuicontrol/tsrc/ut_cphonestateidle/Src/CPhoneStateIdle_Inherited.h
changeset 77 2be0b271d017
equal deleted inserted replaced
72:c76a0b1755b9 77:2be0b271d017
       
     1 /*
       
     2 * Copyright (c) 2002-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:  CCPhoneStateIdle_Inherited declaration. 
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef CPHONESTATEIDLE_INHERITED_H
       
    19 #define CPHONESTATEIDLE_INHERITED_H
       
    20 
       
    21 // INCLUDES
       
    22 #include <e32std.h>
       
    23 #include "CPhoneStateIdle.h"
       
    24 
       
    25 // CLASS DECLARATION
       
    26 
       
    27 /**
       
    28  *  CPhoneStateIdle_Inherited
       
    29  * 
       
    30  */
       
    31 class CPhoneStateIdle_Inherited : public CPhoneStateIdle
       
    32     {
       
    33 public:
       
    34     // Constructors and destructor
       
    35 
       
    36     /**
       
    37      * Destructor.
       
    38      */
       
    39     ~CPhoneStateIdle_Inherited();
       
    40 
       
    41     /**
       
    42      * Two-phased constructor.
       
    43      */
       
    44     static CPhoneStateIdle_Inherited* NewL(
       
    45             MPhoneStateMachine* aStateMachine, 
       
    46             MPhoneViewCommandHandle* aViewCommandHandle,
       
    47             MPhoneCustomization* aPhoneCustomization );
       
    48 
       
    49     /**
       
    50      * Two-phased constructor.
       
    51      */
       
    52     static CPhoneStateIdle_Inherited* NewLC(
       
    53             MPhoneStateMachine* aStateMachine, 
       
    54             MPhoneViewCommandHandle* aViewCommandHandle,
       
    55             MPhoneCustomization* aPhoneCustomization );
       
    56 
       
    57     void DialL_UserL( const TDesC& aNumber, 
       
    58         TPhoneNumberType aNumberType, TDialInitiationMethod aDialMethod );
       
    59     
       
    60     void HandleNumberEntryClearedL_UserL();
       
    61     
       
    62 private:
       
    63 
       
    64     /**
       
    65      * Constructor for performing 1st stage construction
       
    66      */
       
    67     CPhoneStateIdle_Inherited(
       
    68             MPhoneStateMachine* aStateMachine, 
       
    69             MPhoneViewCommandHandle* aViewCommandHandle,
       
    70             MPhoneCustomization* aPhoneCustomization );
       
    71 
       
    72     };
       
    73 
       
    74 #endif // CPHONESTATEIDLE_INHERITED_H