messagingfw/msgurlhandler/urlhandler/src/MsgUrlHandlerApp.cpp
changeset 62 db3f5fa34ec7
parent 0 8e480a14352b
equal deleted inserted replaced
60:9f5ae1728557 62:db3f5fa34ec7
       
     1 // Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // This file contains the implementation for the class defined in 
       
    15 // MsgUrlHandlerApp.h
       
    16 // 
       
    17 //
       
    18 
       
    19 /**
       
    20  @file
       
    21  @see	MsgUrlHandlerApp.h
       
    22 */
       
    23 #include <eikstart.h>
       
    24 #include "MsgUrlHandlerApp.H"
       
    25 
       
    26 const TUid KUidMsgUrlHandlerApp = { 0x1000A7FC }; 
       
    27 
       
    28 //             The function is called by the UI framework to ask for the
       
    29 //             application's UID.
       
    30 
       
    31 TUid CMsgUrlHandlerApplication::AppDllUid() const
       
    32 	{
       
    33 	return KUidMsgUrlHandlerApp;
       
    34 	}
       
    35 
       
    36 //             This function is called by the UI framework at
       
    37 //             application start-up. It creates an instance of the
       
    38 //             document class.
       
    39 
       
    40 CApaDocument* CMsgUrlHandlerApplication::CreateDocumentL()
       
    41 	{
       
    42 	return CMsgUrlHandlerDocument::NewL(*this);
       
    43 	}
       
    44 
       
    45 //             The entry point for the application code. It creates
       
    46 //             an instance of the CApaApplication derived
       
    47 //             class, CMsgUrlHandlerApplication.
       
    48 //
       
    49 
       
    50 LOCAL_C CApaApplication* NewApplication()
       
    51 	{
       
    52 	return new CMsgUrlHandlerApplication;
       
    53 	}
       
    54 
       
    55 GLDEF_C TInt E32Main()
       
    56 	{
       
    57 	return EikStart::RunApplication(NewApplication);
       
    58 	}
       
    59 
       
    60