voiceui/voiceuivoicerecognition/src/vuicdocument.cpp
branchRCL_3
changeset 18 cad71a31b7fc
parent 17 8ce15fced3a6
child 19 e36f3802f733
equal deleted inserted replaced
17:8ce15fced3a6 18:cad71a31b7fc
     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:  The Voice Recognition application document
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // INCLUDE FILES
       
    20 #include "vuicdocument.h"
       
    21 #include "vuicappui.h"
       
    22 
       
    23 
       
    24 // ================= MEMBER FUNCTIONS =======================
       
    25 
       
    26 // Constructor
       
    27 CDocument::CDocument( CEikApplication& aApp )
       
    28  : CAknDocument( aApp )    
       
    29     {
       
    30     }
       
    31 
       
    32 // Destructor
       
    33 CDocument::~CDocument()
       
    34     {
       
    35     }
       
    36 
       
    37 // Default constructor can leave.
       
    38 void CDocument::ConstructL()
       
    39     {
       
    40     }
       
    41 
       
    42 // Two-phased constructor.
       
    43 CDocument* CDocument::NewL( CEikApplication& aApp )
       
    44     {
       
    45     CDocument* self = new (ELeave) CDocument( aApp );
       
    46     CleanupStack::PushL( self );
       
    47     self->ConstructL();
       
    48     CleanupStack::Pop( self );
       
    49     return self;
       
    50     }
       
    51     
       
    52 // ----------------------------------------------------
       
    53 // CDocument::CreateAppUiL()
       
    54 // Constructs CAppUi
       
    55 // ----------------------------------------------------
       
    56 //
       
    57 CEikAppUi* CDocument::CreateAppUiL()
       
    58     {
       
    59     return new (ELeave) CAppUi;
       
    60     }
       
    61 
       
    62 
       
    63 
       
    64 // End of File