phoneengine/phonemodel/inc/mphonedevicemodeobserver.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:  Observer for device call event
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MPHONEDEVICEMODEOBSERVER_H
       
    20 #define MPHONEDEVICEMODEOBSERVER_H
       
    21 
       
    22 #include <e32def.h>
       
    23 
       
    24 /**
       
    25 *  Observer for device call events 
       
    26 *
       
    27 *  @since Series60 3.0
       
    28 */
       
    29 NONSHARABLE_CLASS( MPhoneDeviceModeObserver )
       
    30     {
       
    31     public: // New functions
       
    32         
       
    33         /**
       
    34         * Answers the arriving call
       
    35         */
       
    36         virtual void Answer()=0;
       
    37 
       
    38         /**
       
    39         * Ends the CS and DS voice calls
       
    40         */
       
    41         virtual void EndVoiceCalls()=0;
       
    42     };
       
    43 
       
    44 #endif      // MPHONEDEVICEMODEOBSERVER_H
       
    45             
       
    46 // End of File