examples/HelloWorld/HelloWorld_Application.cpp

00001 // Copyright (c) 2000-2009 Nokia Corporation and/or its subsidiary(-ies).
00002 // All rights reserved.
00003 // This component and the accompanying materials are made available
00004 // under the terms of "Eclipse Public License v1.0"
00005 // which accompanies this distribution, and is available
00006 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
00007 //
00008 // Initial Contributors:
00009 // Nokia Corporation - initial contribution.
00010 //
00011 // Contributors:
00012 //
00013 // Description:
00014 // HelloWorld_CExampleApplication.cpp
00015 // Source file for the implementation of the
00016 // application class - CExampleApplication
00017 //
00018 
00019 #include "HelloWorld.h"
00020 
00021 const TUid KUidHelloWorld = { 0xE800005A };
00022 
00023 //             The function is called by the UI framework to ask for the
00024 //             application's UID. The returned value is defined by the
00025 //             constant KUidHelloWorlde and must match the second value
00026 //             defined in the project definition file.
00027 //
00028 TUid CExampleApplication::AppDllUid() const
00029         {
00030         return KUidHelloWorld;
00031         }
00032 
00033 //             This function is called by the UI framework at
00034 //             application start-up. It creates an instance of the
00035 //             document class.
00036 //
00037 CApaDocument* CExampleApplication::CreateDocumentL()
00038         {
00039         return new (ELeave) CExampleDocument(*this);
00040         }
00041 

Generated by  doxygen 1.6.2