phoneengine/phonemodel/inc/mpecallcontrolif.h
changeset 21 92ab7f8d0eab
equal deleted inserted replaced
4:c84cf270c54f 21:92ab7f8d0eab
       
     1 /*
       
     2 * Copyright (c) 2007-2008 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 interface for dialling a phone call.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef MPECALLCONTROLIF_H
       
    19 #define MPECALLCONTROLIF_H
       
    20 
       
    21 #include <e32base.h>
       
    22 
       
    23 // CLASS DECLARATION
       
    24 
       
    25 /**
       
    26 *  Dials a phone call. 
       
    27 * 
       
    28 *  @lib phoneengine.lib
       
    29 *  @since S60_10.1
       
    30 */
       
    31 NONSHARABLE_CLASS( MPECallControlIF ) 
       
    32 {
       
    33     public:    //New functions
       
    34 
       
    35         /**
       
    36         * Dials a phone call.
       
    37         * @param aClientCall, Informs is the current call client originated or not.
       
    38         *                     By default not client originated.
       
    39         * @return Return possible error code.
       
    40         */
       
    41         virtual TInt HandleDialServiceCall( 
       
    42                 const TBool aClientCall = EFalse ) = 0;        
       
    43 
       
    44         /**
       
    45         * Starts tone playing. 
       
    46         */
       
    47         virtual void HandlePlayDTMFL() = 0;
       
    48 
       
    49         /**
       
    50         * Stops tone playing. 
       
    51         * @return error code.
       
    52         */
       
    53         virtual TInt HandleEndDTMF() = 0;
       
    54 
       
    55     };
       
    56 
       
    57 #endif // MPECALLCONTROLIF_H
       
    58 
       
    59 // End of File