examples/SDKExamples/helloworldbasic/src/helloworldbasicapplication.cpp

00001 /*
00002 * ==============================================================================
00003 *  Name        : helloworldbasicapplication.cpp
00004 *  Part of     : Helloworldbasic
00005 *  Interface   : 
00006 *  Description : 
00007 *  Version     : 
00008 *  Copyright (c) 2005 - 2006 Nokia Corporation and/or its subsidiary(-ies).
00009 *  All rights reserved.
00010 *  This component and the accompanying materials are made available
00011 *  under the terms of "Eclipse Public License v1.0"
00012 *  which accompanies this distribution, and is available
00013 *  at the URL "http://www.eclipse.org/legal/epl-v10.html".
00014 * ==============================================================================
00015 */
00016 
00017 // INCLUDE FILES
00018 #include "HelloWorldBasicDocument.h"
00019 #include "HelloWorldBasicApplication.h"
00020 
00021 // ============================ MEMBER FUNCTIONS ===============================
00022 
00023 // UID for the application;
00024 // this should correspond to the uid defined in the mmp file
00025 const TUid KUidHelloWorldBasicApp = { 0xA000017F };
00026 
00027 // -----------------------------------------------------------------------------
00028 // CHelloWorldBasicApplication::CreateDocumentL()
00029 // Creates CApaDocument object
00030 // -----------------------------------------------------------------------------
00031 //
00032 CApaDocument* CHelloWorldBasicApplication::CreateDocumentL()
00033     {
00034     // Create an HelloWorldBasic document, and return a pointer to it
00035     return (static_cast<CApaDocument*>
00036                     ( CHelloWorldBasicDocument::NewL( *this ) ) );
00037     }
00038 
00039 // -----------------------------------------------------------------------------
00040 // CHelloWorldBasicApplication::AppDllUid()
00041 // Returns application UID
00042 // -----------------------------------------------------------------------------
00043 //
00044 TUid CHelloWorldBasicApplication::AppDllUid() const
00045     {
00046     // Return the UID for the HelloWorldBasic application
00047     return KUidHelloWorldBasicApp;
00048     }
00049 
00050 // End of File
00051 

Generated by  doxygen 1.6.2