phoneapp/phoneuivoipextension/inc/cphonestateincomingvoip.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Wed, 18 Aug 2010 09:48:26 +0300
changeset 56 5bcb308bd24d
parent 0 5f000ab63145
child 65 2a5d4ab426d3
permissions -rw-r--r--
Revision: 201031 Kit: 201033

/*
* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). 
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description: 
*     VoIP-specific incoming state implementation.
*
*/


#ifndef CPHONESTATEINCOMINGVOIP_H
#define CPHONESTATEINCOMINGVOIP_H

// INCLUDES
#include "cphoneincoming.h"

// CLASS DECLARATION
/**
*  VoIP-specific incoming state
*/
NONSHARABLE_CLASS( CPhoneStateIncomingVoIP ): public CPhoneIncoming
    {
    public:  

        /**
        * Destructor.
        */
        virtual ~CPhoneStateIncomingVoIP();
        
        /**
        * Creates the VoIP specific Incoming state class
        * @param aStateMachine: a state machine
        * @param aViewCommandHandle: handle to the PhoneUIView
        * @return an instance of class CPhoneEmergency
        */
        static CPhoneStateIncomingVoIP* NewL( 
            MPhoneStateMachine& aStateMachine, 
            MPhoneViewCommandHandle& aViewCommandHandle,
            MPhoneCustomization& aPhoneCustomization );    
                        
    protected:

        /**
        * By default EPOC constructor is private.
        */
        CPhoneStateIncomingVoIP( 
            MPhoneStateMachine& aStateMachine, 
            MPhoneViewCommandHandle& aViewCommandHandle,
            MPhoneCustomization& aPhoneCustomization );
                    
        /**
        * ConstructL()
        */
        virtual void ConstructL();

        /**
        * Handles long hash key
        */
        virtual void HandleLongHashL();

        /**
        * Handles audio play stoping
        */        
        virtual void HandleAudioPlayStoppedL();
    };

#endif // CPHONESTATEINCOMINGVOIP_H

// End of File