phoneapp/phoneuivoipextension/inc/cphonestateincomingvoip.h
changeset 0 5f000ab63145
child 65 2a5d4ab426d3
equal deleted inserted replaced
-1:000000000000 0:5f000ab63145
       
     1 /*
       
     2 * Copyright (c) 2007 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 *     VoIP-specific incoming state implementation.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef CPHONESTATEINCOMINGVOIP_H
       
    21 #define CPHONESTATEINCOMINGVOIP_H
       
    22 
       
    23 // INCLUDES
       
    24 #include "cphoneincoming.h"
       
    25 
       
    26 // CLASS DECLARATION
       
    27 /**
       
    28 *  VoIP-specific incoming state
       
    29 */
       
    30 NONSHARABLE_CLASS( CPhoneStateIncomingVoIP ): public CPhoneIncoming
       
    31     {
       
    32     public:  
       
    33 
       
    34         /**
       
    35         * Destructor.
       
    36         */
       
    37         virtual ~CPhoneStateIncomingVoIP();
       
    38         
       
    39         /**
       
    40         * Creates the VoIP specific Incoming state class
       
    41         * @param aStateMachine: a state machine
       
    42         * @param aViewCommandHandle: handle to the PhoneUIView
       
    43         * @return an instance of class CPhoneEmergency
       
    44         */
       
    45         static CPhoneStateIncomingVoIP* NewL( 
       
    46             MPhoneStateMachine& aStateMachine, 
       
    47             MPhoneViewCommandHandle& aViewCommandHandle,
       
    48             MPhoneCustomization& aPhoneCustomization );    
       
    49                         
       
    50     protected:
       
    51 
       
    52         /**
       
    53         * By default EPOC constructor is private.
       
    54         */
       
    55         CPhoneStateIncomingVoIP( 
       
    56             MPhoneStateMachine& aStateMachine, 
       
    57             MPhoneViewCommandHandle& aViewCommandHandle,
       
    58             MPhoneCustomization& aPhoneCustomization );
       
    59                     
       
    60         /**
       
    61         * ConstructL()
       
    62         */
       
    63         virtual void ConstructL();
       
    64 
       
    65         /**
       
    66         * Handles long hash key
       
    67         */
       
    68         virtual void HandleLongHashL();
       
    69 
       
    70         /**
       
    71         * Handles audio play stoping
       
    72         */        
       
    73         virtual void HandleAudioPlayStoppedL();
       
    74     };
       
    75 
       
    76 #endif // CPHONESTATEINCOMINGVOIP_H
       
    77 
       
    78 // End of File