Nokia N97 SDK
Example Applications Guide

helpexampleapplication.cpp

00001 /*
00002 * ==============================================================================
00003 *  Name        : helpexampleapplication.cpp
00004 *  Part of     : Help example
00005 *  Interface   :
00006 *  Description :
00007 *  Version     :
00008 *
00009 *  Copyright (c) 2004 - 2006 Nokia Corporation.
00010 *  This material, including documentation and any related
00011 *  computer programs, is protected by copyright controlled by
00012 *  Nokia Corporation.
00013 * ==============================================================================
00014 */
00015 
00016 // INCLUDE FILES
00017 #include "HelpExampleDocument.h"
00018 #include "HelpExampleApplication.h"
00019 
00020 // ============================ MEMBER FUNCTIONS ===============================
00021 
00022 // KUidHelpExampleApp is defined in HelpExampleApplication.h
00023 // because CHelpfulForm needs it.
00024 
00025 // -----------------------------------------------------------------------------
00026 // CHelpExampleApplication::CreateDocumentL()
00027 // Creates CHelpExampleDocument object.
00028 // -----------------------------------------------------------------------------
00029 //
00030 CApaDocument* CHelpExampleApplication::CreateDocumentL()
00031     {  
00032     // Create an HelpExample document, and return a pointer to it
00033     return ( static_cast<CApaDocument*>( CHelpExampleDocument::NewL ( *this ) ) );
00034     }
00035 
00036 // -----------------------------------------------------------------------------
00037 // CHelpExampleApplication::AppDllUid()
00038 // Returns application UID.
00039 // -----------------------------------------------------------------------------
00040 //
00041 TUid CHelpExampleApplication::AppDllUid() const
00042     {
00043     return KUidHelpExampleApp;
00044     }
00045 
00046 // End of File

© Nokia 2009

Back to top