Nokia N97 SDK
Example Applications Guide

focuseventapplication.cpp

00001 /*
00002 * ==============================================================================
00003 *  Name        : focuseventapplication.cpp
00004 *  Part of     : Focus event 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 "FocusEventDocument.h"
00018 #include "FocusEventApplication.h"
00019 
00020 // ============================ MEMBER FUNCTIONS ===============================
00021 
00022 // -----------------------------------------------------------------------------
00023 // CFocusEventApplication::CreateDocumentL
00024 // Creates CApaDocument object and returns a pointer to it
00025 // -----------------------------------------------------------------------------
00026 //
00027 CApaDocument* CFocusEventApplication::CreateDocumentL()
00028     {  
00029     return ( static_cast<CApaDocument*>( CFocusEventDocument::NewL( *this ) ) );
00030     }
00031 
00032 // -----------------------------------------------------------------------------
00033 // CFocusEventApplication::AppDllUid()
00034 // Returns the UID for the FocusEvent application
00035 // -----------------------------------------------------------------------------
00036 //
00037 TUid CFocusEventApplication::AppDllUid() const
00038     {
00039     return KUidFocusEventApp;
00040     }
00041 
00042 // End of File

© Nokia 2009

Back to top