messagingappbase/mce/src/MceApplication.cpp
changeset 0 72b543305e3a
equal deleted inserted replaced
-1:000000000000 0:72b543305e3a
       
     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 *     Application class for Mce.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 // INCLUDE FILES
       
    23 #include "MceApplication.h"
       
    24 #include "MceDocument.h"
       
    25 #include "MceIds.h" // KMceApplicationUid
       
    26 
       
    27 // ================= MEMBER FUNCTIONS =======================
       
    28 
       
    29 // ----------------------------------------------------
       
    30 // CMceApplication::AppDllUid
       
    31 // ----------------------------------------------------
       
    32 TUid CMceApplication::AppDllUid() const
       
    33     {
       
    34     return KMceApplicationUid;
       
    35     }
       
    36 
       
    37 // ----------------------------------------------------
       
    38 // CMceApplication::CreateDocumentL
       
    39 // ----------------------------------------------------
       
    40 CApaDocument* CMceApplication::CreateDocumentL()
       
    41     {
       
    42     return CMceDocument::NewL(*this);
       
    43     }
       
    44 
       
    45 // ================= OTHER EXPORTED FUNCTIONS ==============
       
    46 
       
    47 
       
    48 #include <eikstart.h>
       
    49 
       
    50 LOCAL_C CApaApplication* NewApplication()
       
    51     {
       
    52     return new CMceApplication;
       
    53     }
       
    54 
       
    55 GLDEF_C TInt E32Main()
       
    56     {
       
    57     return EikStart::RunApplication( NewApplication );
       
    58     }
       
    59 
       
    60 //  End of File