uifw/AvKon/tsrc/bc/bctestdom5.0/bctestdomavkonpsln/src/bctestdomavkonpslnapp.cpp
changeset 21 558113899881
parent 14 3320e4e6e8bb
child 22 75713bee6484
child 33 b3425bf29f82
equal deleted inserted replaced
14:3320e4e6e8bb 21:558113899881
     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:  ?Description
       
    15 *
       
    16 */
       
    17 
       
    18 #include <eikstart.h>
       
    19 
       
    20 #include "bctestdomavkonpslnapp.h"
       
    21 #include "bctestdomavkonpslndocument.h"
       
    22 
       
    23 
       
    24 // ================= MEMBER FUNCTIONS ========================================
       
    25 
       
    26 // ---------------------------------------------------------------------------
       
    27 // TUid CBCTestDomAvkonPslnApp::AppDllUid()
       
    28 // Returns application UID.
       
    29 // ---------------------------------------------------------------------------
       
    30 //
       
    31 TUid CBCTestDomAvkonPslnApp::AppDllUid() const
       
    32     {
       
    33     return KUidBCTestDomain;
       
    34     }
       
    35 
       
    36 // ---------------------------------------------------------------------------
       
    37 // CApaDocument* CBCTestDomAvkonPslnApp::CreateDocumentL()
       
    38 // Creates CBCTestDomAvkonPslnDocument object.
       
    39 // ---------------------------------------------------------------------------
       
    40 //
       
    41 CApaDocument* CBCTestDomAvkonPslnApp::CreateDocumentL()
       
    42     {
       
    43     return CBCTestDomAvkonPslnDocument::NewL( *this );
       
    44     }
       
    45 
       
    46 // ================= OTHER EXPORTED FUNCTIONS ================================
       
    47 //
       
    48 // ---------------------------------------------------------------------------
       
    49 // CApaApplication* NewApplication()
       
    50 // Constructs CBCTestDomAvkonPslnApp.
       
    51 // Returns: CApaDocument*: created application object
       
    52 // ---------------------------------------------------------------------------
       
    53 //
       
    54 LOCAL_C CApaApplication* NewApplication()
       
    55     {
       
    56     return new CBCTestDomAvkonPslnApp;
       
    57     }
       
    58 
       
    59 GLDEF_C TInt E32Main()
       
    60     {
       
    61     return EikStart::RunApplication( NewApplication );
       
    62     }
       
    63 
       
    64 // End of File