phoneapp/phoneuistates/inc/cphonestartup.h
changeset 0 5f000ab63145
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: 
       
    15 *     GSM-specific start up state implementation.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef CPHONESTARTUP_H
       
    21 #define CPHONESTARTUP_H
       
    22 
       
    23 // INCLUDES
       
    24 #include "cphonestatestartup.h"
       
    25 
       
    26 // FORWARD DECLARATIONS
       
    27 
       
    28 // CLASS DECLARATION
       
    29 /**
       
    30 *  GSM-specific start up state implementation.
       
    31 */
       
    32 class CPhoneStartup : public CPhoneStateStartup
       
    33     {
       
    34     public:  
       
    35 
       
    36         /**
       
    37         * Destructor.
       
    38         */
       
    39         virtual ~CPhoneStartup();
       
    40         
       
    41         /**
       
    42         * Creates the Start up state class
       
    43         * @param aStateMachine: a state machine
       
    44         * @param aViewCommandHandle: handle to the PhoneUIView
       
    45         * @param aPEReady: true if Phone Engine already started
       
    46         * @return an instance of class CPhoneEmergency
       
    47         */
       
    48         static CPhoneStartup* NewL( 
       
    49             MPhoneStateMachine* aStateMachine, 
       
    50             MPhoneViewCommandHandle* aViewCommandHandle,
       
    51             TBool aPEReady );
       
    52 
       
    53         /**
       
    54         * A message handling function for Phone Engine messages
       
    55         * @param aMessage Message from Phone Engine
       
    56         * @param aCallId Call id the message concerns
       
    57         */
       
    58         void HandlePhoneEngineMessageL(
       
    59             const TInt aMessage, 
       
    60             TInt aCallId );    
       
    61                         
       
    62     protected:
       
    63 
       
    64         /**
       
    65         * By default EPOC constructor is private.
       
    66         */
       
    67         CPhoneStartup( 
       
    68             MPhoneStateMachine* aStateMachine, 
       
    69             MPhoneViewCommandHandle* aViewCommandHandle,
       
    70             TBool aPEReady );
       
    71                     
       
    72         /**
       
    73         * ConstructL()
       
    74         */
       
    75         virtual void ConstructL();
       
    76         
       
    77     };
       
    78 
       
    79 #endif // CPHONESTARTUP_H
       
    80 
       
    81 // End of File