classicui_pub/tsrc/bc/apps/S60_SDK3.0/bctestcmdlg/src/bctestcmdlgapp.cpp
changeset 22 75713bee6484
parent 21 558113899881
child 26 62ef28f7b435
child 28 d33307312dfe
equal deleted inserted replaced
21:558113899881 22:75713bee6484
     1 /*
       
     2 * Copyright (c) 2002-2009 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:         Avkon Template test app
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 
       
    25 
       
    26 // INCLUDE FILES
       
    27 #include "BCTestCmDlgApp.h"
       
    28 #include "BCTestCmDlgDocument.h"
       
    29 #include <eikstart.h>
       
    30 
       
    31 // ================= MEMBER FUNCTIONS =========================================
       
    32 
       
    33 // ----------------------------------------------------------------------------
       
    34 // TUid CBCTestCmDlgApp::AppDllUid()
       
    35 // Returns application UID.
       
    36 // ----------------------------------------------------------------------------
       
    37 //
       
    38 TUid CBCTestCmDlgApp::AppDllUid() const
       
    39     {
       
    40     return KUidBCTestCmDlg;
       
    41     }
       
    42 
       
    43 // ----------------------------------------------------------------------------
       
    44 // CApaDocument* CBCTestCmDlgApp::CreateDocumentL()
       
    45 // Creates CBCTestCmDlgAppDocument object.
       
    46 // ----------------------------------------------------------------------------
       
    47 //
       
    48 CApaDocument* CBCTestCmDlgApp::CreateDocumentL()
       
    49     {
       
    50     return CBCTestCmDlgDocument::NewL( *this );
       
    51     }
       
    52 
       
    53 // ================= OTHER EXPORTED FUNCTIONS =================================
       
    54 //
       
    55 // ----------------------------------------------------------------------------
       
    56 // CApaApplication* NewApplication()
       
    57 // Constructs CBCTestCmDlgApp.
       
    58 // Returns: CApaDocument*: created application object
       
    59 // ----------------------------------------------------------------------------
       
    60 //
       
    61 LOCAL_C CApaApplication* NewApplication()
       
    62     {
       
    63     return new CBCTestCmDlgApp;
       
    64     }
       
    65 
       
    66 GLDEF_C TInt E32Main()
       
    67     {
       
    68     return EikStart::RunApplication(NewApplication);
       
    69     }
       
    70 
       
    71 // End of File