voiceui/voiceuivoicerecognition/src/vuicapp.cpp
branchRCL_3
changeset 19 e36f3802f733
parent 0 bf1d17376201
equal deleted inserted replaced
18:cad71a31b7fc 19:e36f3802f733
       
     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
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // INCLUDE FILES
       
    20 #include <eikstart.h>
       
    21 
       
    22 #include "vuicapp.h"
       
    23 #include "vuicdocument.h"
       
    24 
       
    25 // ================= MEMBER FUNCTIONS =======================
       
    26 
       
    27 // ---------------------------------------------------------
       
    28 // CApp::AppDllUid()
       
    29 // Returns application UID
       
    30 // ---------------------------------------------------------
       
    31 //
       
    32 TUid CApp::AppDllUid() const
       
    33     {
       
    34     return KUidVoiceUi;
       
    35     }
       
    36 
       
    37    
       
    38 // ---------------------------------------------------------
       
    39 // CApp::CreateDocumentL()
       
    40 // Creates CVCDocument object
       
    41 // ---------------------------------------------------------
       
    42 //
       
    43 CApaDocument* CApp::CreateDocumentL()
       
    44     {
       
    45     return CDocument::NewL( *this );
       
    46     }
       
    47 
       
    48 
       
    49 // ================= OTHER EXPORTED FUNCTIONS ==============
       
    50 
       
    51 
       
    52 LOCAL_C CApaApplication* NewApplication()
       
    53     {
       
    54     return new CApp;
       
    55     }
       
    56 
       
    57 
       
    58 GLDEF_C TInt E32Main()
       
    59     {
       
    60     return EikStart::RunApplication( NewApplication );
       
    61     }
       
    62 
       
    63 
       
    64 // End of File