tsrc/mustestapp/src/AiwTestAppApp.cpp
branchRCL_3
changeset 33 bc78a40cd63c
parent 32 73a1feb507fb
child 35 6c57ef9392d2
equal deleted inserted replaced
32:73a1feb507fb 33:bc78a40cd63c
     1 /*
       
     2 * Copyright (c) 2002-2005 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 <eikstart.h>
       
    21 #include "aiwtestappapp.h"
       
    22 #include "aiwtestappdocument.h"
       
    23 
       
    24 // ================= MEMBER FUNCTIONS =======================
       
    25 
       
    26 // ---------------------------------------------------------
       
    27 // CAiwTestApp::AppDllUid()
       
    28 // Returns application UID
       
    29 // ---------------------------------------------------------
       
    30 //
       
    31 TUid CAiwTestApp::AppDllUid() const
       
    32     {
       
    33     return KUidAiwTestApp;
       
    34     }
       
    35    
       
    36 // ---------------------------------------------------------
       
    37 // CAiwTestApp::CreateDocumentL()
       
    38 // Creates CAiwTestDocument object
       
    39 // ---------------------------------------------------------
       
    40 //
       
    41 CApaDocument* CAiwTestApp::CreateDocumentL()
       
    42     {
       
    43     return CAiwTestDocument::NewL( *this );
       
    44     }
       
    45 
       
    46 LOCAL_C CApaApplication* NewApplication()
       
    47     {
       
    48     return new CAiwTestApp;
       
    49     }
       
    50 
       
    51 // ---------------------------------------------------------
       
    52 // E32Main()
       
    53 // Main startup entry point
       
    54 // Returns: KErrNone
       
    55 // ---------------------------------------------------------
       
    56 //
       
    57 GLDEF_C TInt E32Main()
       
    58     {
       
    59     return EikStart::RunApplication(NewApplication);
       
    60     }
       
    61 
       
    62 // End of File  
       
    63