phoneclientserver/callui/src/cauiengine/ccauireconnectqueryimpl.cpp
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:  Implementation of CallUIEngine reconnect query.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 // INCLUDE FILES
       
    21 #include    "ccauireconnectqueryimpl.h"
       
    22 #include    "cauiengine.h" 
       
    23 
       
    24 CCaUiReconnectQueryImpl* CCaUiReconnectQueryImpl::NewL( 
       
    25     MCaUiReconnectQueryObserver& aObserver )
       
    26     {
       
    27     CCaUiReconnectQueryImpl* self = 
       
    28         new ( ELeave ) CCaUiReconnectQueryImpl( aObserver);
       
    29     CleanupStack::PushL( self );
       
    30     self->ConstructL();
       
    31     CleanupStack::Pop(); 
       
    32     return self;
       
    33     }
       
    34     
       
    35 CCaUiReconnectQueryImpl::~CCaUiReconnectQueryImpl( )
       
    36     {
       
    37     if ( iEng )
       
    38         {
       
    39         iEng->CancelReconConfQuery();
       
    40         delete iEng;
       
    41         }
       
    42     }
       
    43     
       
    44 void CCaUiReconnectQueryImpl::ShowL( 
       
    45     const TPtrC aPhoneNumber,
       
    46     const TBool aIncludeVideoCallOption )
       
    47     {
       
    48     iEng->LaunchReconConfQueryL(iObserver,
       
    49         NULL,
       
    50         aPhoneNumber,
       
    51         aIncludeVideoCallOption );
       
    52     }
       
    53 
       
    54 void CCaUiReconnectQueryImpl::ConstructL()
       
    55     {
       
    56     iEng = CCaUiEngine::NewL();
       
    57     }
       
    58 
       
    59 CCaUiReconnectQueryImpl::CCaUiReconnectQueryImpl(
       
    60             MCaUiReconnectQueryObserver& aObserver ):
       
    61                 CCaUiReconnectQuery(aObserver)
       
    62     {
       
    63     
       
    64     }
       
    65 
       
    66 // End of file
       
    67 
       
    68