phoneengine/phonemodel/inc/mpeclientcallrequestmonitor.h
changeset 0 5f000ab63145
equal deleted inserted replaced
-1:000000000000 0:5f000ab63145
       
     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 using call request monitors.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef MPEClientCallRequestMonitor_H
       
    21 #define MPEClientCallRequestMonitor_H
       
    22 
       
    23 //INCLUDES
       
    24 #include <cphcltdialdata.h>
       
    25 
       
    26 // CLASS DECLARATION
       
    27 
       
    28 /**
       
    29 *  Monitor call requests from the phone server(/phone client). 
       
    30 *  
       
    31 * 
       
    32 *  @lib PhoneEngineBase.lib
       
    33 *  @since S60_5.0
       
    34 */
       
    35 NONSHARABLE_CLASS( MPEClientCallRequestMonitor ) 
       
    36 {
       
    37     public:    //New functions
       
    38         /**
       
    39         * Gets dial data
       
    40         * @return Reference to TPhCltTelephoneNumber, telephony number.
       
    41         */
       
    42         virtual CPhCltDialData* ClientDialData() = 0;
       
    43         
       
    44         /**
       
    45         * Sends respond to the phone client
       
    46         * @param aRespond  contains respond to the phone client.
       
    47         */
       
    48         virtual void SendRespond( const TInt aRespond ) = 0;
       
    49         
       
    50         /**
       
    51         * Tells whether this monitor is active.
       
    52         */
       
    53         virtual TBool IsActive() = 0;
       
    54 
       
    55     };
       
    56 
       
    57 #endif // MPEClientCallRequestMonitor_H
       
    58 
       
    59 // End of File