phonesrv_plat/callui_reconnect_query_api/inc/mcauireconnectqueryobserver.h
changeset 51 12bc758d6a02
parent 48 78df25012fda
child 53 25b8d29b7c59
equal deleted inserted replaced
48:78df25012fda 51:12bc758d6a02
     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:  Observer for reconnect query.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MCAUIRECONNECTQUERYOBSERVER_H   
       
    20 #define MCAUIRECONNECTQUERYOBSERVER_H   
       
    21 
       
    22 //  INCLUDES
       
    23 #include <e32std.h>
       
    24 
       
    25 // CLASS DECLARATION
       
    26 
       
    27 /**
       
    28 *  Defines the interface for the observers of the CCaUiReconnectQuery.
       
    29 *
       
    30 *  @lib cauiengine.lib
       
    31 *  @since 5.0
       
    32 */
       
    33 class MCaUiReconnectQueryObserver
       
    34     {          
       
    35     public:  // New functions   
       
    36         
       
    37         enum TCaUiReconType
       
    38             {
       
    39             ECallUiReconTypeCancel = -1, // Query canceled.
       
    40             ECallUiReconTypeVoice = 0,   // Voice call.
       
    41             ECallUiReconTypeVideo = 1,   // Video call.
       
    42             ECallUiReconTypeMsg   = 2
       
    43             };
       
    44         
       
    45         /**
       
    46         * User selected option notification.
       
    47         *
       
    48         * @param aOption User selected option for reconnect query. 
       
    49         */       
       
    50         virtual void OptionSelected( TCaUiReconType aOption ) = 0;
       
    51         
       
    52     };
       
    53 
       
    54 #endif      // MCAUIRECONNECTQUERYOBSERVER_H   
       
    55             
       
    56 // End of File