Nokia N97 SDK
Example Applications Guide

openchelloglibeventexapp.cpp

00001 /*
00002 * ==============================================================================
00003 *  Name        : OpenCHelloGlibEventExApp.cpp
00004 *  Part of     : Open C Hello World with Glib Events Example
00005 *  Interface   : 
00006 *  Description : 
00007 *  Version     : 
00008 *
00009 *  Copyright (c) 2007 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 "OpenCHelloGlibEventExDoc.h"
00018 #include "OpenCHelloGlibEventExApp.h"
00019 
00020 // ============================ MEMBER FUNCTIONS ===============================
00021 
00022 // UID for the application;
00023 // this should correspond to the uid defined in the mmp file
00024 const TUid KUidOpenCHelloGlibEventExApp = { 0xA0001F1B };
00025 
00026 // -----------------------------------------------------------------------------
00027 // COpenCHelloGlibEventExApplication::CreateDocumentL()
00028 // Creates CApaDocument object
00029 // -----------------------------------------------------------------------------
00030 //
00031 CApaDocument* COpenCHelloGlibEventExApplication::CreateDocumentL()
00032     {
00033     // Create an OpenCHelloGlibEventEx document, and return a pointer to it
00034     return (static_cast<CApaDocument*>
00035                     ( COpenCHelloGlibEventExDocument::NewL( *this ) ) );
00036     }
00037 
00038 // -----------------------------------------------------------------------------
00039 // COpenCHelloGlibEventExApplication::AppDllUid()
00040 // Returns application UID
00041 // -----------------------------------------------------------------------------
00042 //
00043 TUid COpenCHelloGlibEventExApplication::AppDllUid() const
00044     {
00045     // Return the UID for the OpenCHelloGlibEventEx application
00046     return KUidOpenCHelloGlibEventExApp;
00047     }
00048 
00049 // End of File
00050 

© Nokia 2009

Back to top