cbs/cbsui/UiSrc/CCbsUiappApplication.cpp
branchRCL_3
changeset 19 7d48bed6ce0c
parent 18 594d59766373
child 20 987c9837762f
equal deleted inserted replaced
18:594d59766373 19:7d48bed6ce0c
     1 /*
       
     2 * Copyright (c) 2002 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 *    Implements the application class.
       
    16 *
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 // INCLUDES
       
    22 #include <eikstart.h>
       
    23 #include "CCbsUiappApplication.h"
       
    24 #include "CCbsUiappDocument.h"
       
    25 #include "CbsUiId.h"
       
    26 
       
    27 
       
    28 
       
    29 // CONSTANTS
       
    30 static const TUid KUidCbsUiappApp = { KUidCbsUiappDef };
       
    31 
       
    32 
       
    33 
       
    34 
       
    35 // ================= MEMBER FUNCTIONS =======================
       
    36 
       
    37 
       
    38 // ---------------------------------------------------------
       
    39 // CCbsUiappApplication::AppDllUid
       
    40 // 
       
    41 // (other items were commented in a header).
       
    42 // ---------------------------------------------------------
       
    43 //
       
    44 TUid CCbsUiappApplication::AppDllUid() const
       
    45     {
       
    46     return KUidCbsUiappApp;
       
    47     }
       
    48 
       
    49 // ---------------------------------------------------------
       
    50 // CCbsUiappApplication::CreateDocumentL
       
    51 // 
       
    52 // (other items were commented in a header).
       
    53 // ---------------------------------------------------------
       
    54 //
       
    55 CApaDocument* CCbsUiappApplication::CreateDocumentL()
       
    56     {
       
    57     return CCbsUiappDocument::NewL(*this);
       
    58     }
       
    59 
       
    60 // ================= OTHER EXPORTED FUNCTIONS ==============
       
    61 
       
    62 
       
    63 LOCAL_C CApaApplication* NewApplication()
       
    64     {
       
    65     return new CCbsUiappApplication;
       
    66     }
       
    67 
       
    68 GLDEF_C TInt E32Main()
       
    69     {
       
    70     return EikStart::RunApplication(NewApplication);
       
    71     }
       
    72 
       
    73 
       
    74 //  End of File