testdev/ite/test/com.nokia.testfw.codegen.ui.test/resource/HelloWorld/HelloWorld_Application.cpp
changeset 1 96906a986c3b
equal deleted inserted replaced
0:f1112f777ce9 1:96906a986c3b
       
     1 /*
       
     2 * Copyright (c) 2000 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 *
       
    16 */
       
    17 
       
    18 
       
    19 #include "HelloWorld.h"
       
    20 
       
    21 const TUid KUidHelloWorld = { 0xE800005A };
       
    22 
       
    23 //             The function is called by the UI framework to ask for the
       
    24 //             application's UID. The returned value is defined by the
       
    25 //             constant KUidHelloWorlde and must match the second value
       
    26 //             defined in the project definition file.
       
    27 //
       
    28 TUid CExampleApplication::AppDllUid() const
       
    29 	{
       
    30 	return KUidHelloWorld;
       
    31 	}
       
    32 
       
    33 //             This function is called by the UI framework at
       
    34 //             application start-up. It creates an instance of the
       
    35 //             document class.
       
    36 //
       
    37 CApaDocument* CExampleApplication::CreateDocumentL()
       
    38 	{
       
    39 	return new (ELeave) CExampleDocument(*this);
       
    40 	}