voiceui/voiceuivoicerecognition/src/vuicmessagequerydialog.cpp
branchRCL_3
changeset 19 e36f3802f733
parent 0 bf1d17376201
equal deleted inserted replaced
18:cad71a31b7fc 19:e36f3802f733
       
     1 /*
       
     2 * Copyright (c) 2006-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:  
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // INCLUDE FILES
       
    20 #include "vuicmessagequerydialog.h"
       
    21 
       
    22 #include "rubydebug.h"
       
    23 
       
    24 // -----------------------------------------------------------------------------
       
    25 // CMessageQueryDialog::NewL
       
    26 // Two-phased constructor.
       
    27 // -----------------------------------------------------------------------------
       
    28 //
       
    29 CMessageQueryDialog* CMessageQueryDialog::NewL( CMessageQueryDialog** aSelf )
       
    30     {
       
    31     CMessageQueryDialog* self = new (ELeave) CMessageQueryDialog( aSelf );
       
    32     CleanupStack::PushL( self );
       
    33     self->ConstructL();
       
    34     CleanupStack::Pop( self );
       
    35     return self;
       
    36     }   
       
    37     
       
    38 // Destructor       
       
    39 CMessageQueryDialog::~CMessageQueryDialog()
       
    40     {
       
    41     RUBY_DEBUG0( "CMessageQueryDialog::~CMessageQueryDialog START" );
       
    42 
       
    43     MakeVisible( EFalse );
       
    44 
       
    45     if ( iSelf )
       
    46         {
       
    47         *iSelf = NULL;
       
    48         iSelf = NULL;
       
    49         }
       
    50 
       
    51     RUBY_DEBUG0( "CMessageQueryDialog::~CMessageQueryDialog EXIT" );
       
    52     }
       
    53 
       
    54 // ---------------------------------------------------------
       
    55 // CMessageQueryDialog::CMessageQueryDialog
       
    56 // ---------------------------------------------------------
       
    57 //              
       
    58 CMessageQueryDialog::CMessageQueryDialog( CMessageQueryDialog** aSelf )
       
    59  : CAknMessageQueryDialog(), iSelf( aSelf )
       
    60     {
       
    61     }
       
    62 
       
    63 // ---------------------------------------------------------
       
    64 // CMessageQueryDialog::ConstructL
       
    65 // ---------------------------------------------------------
       
    66 //           
       
    67 void CMessageQueryDialog::ConstructL()
       
    68     {
       
    69     RUBY_DEBUG_BLOCK( "CMessageQueryDialog::ConstructL" );
       
    70     }
       
    71     
       
    72 // End of File
       
    73