Nokia N97 SDK
Example Applications Guide

HsWidgetApplication.cpp

00001 /*
00002  ============================================================================
00003  Name           : HsWidgetApplication.cpp
00004  Author   : 
00005  Copyright   : This material, including documentation and any related computer
00006           programs, is protected by copyright controlled by Nokia Corporation.
00007  Description : Main application class
00008  ============================================================================
00009  */
00010 
00011 // INCLUDE FILES
00012 #include "HsWidget.hrh"
00013 #include "HsWidgetDocument.h"
00014 #include "HsWidgetApplication.h"
00015 
00016 // ============================ MEMBER FUNCTIONS ===============================
00017 
00018 // -----------------------------------------------------------------------------
00019 // CHsWidgetApplication::CreateDocumentL()
00020 // Creates CApaDocument object
00021 // -----------------------------------------------------------------------------
00022 //
00023 CApaDocument* CHsWidgetApplication::CreateDocumentL()
00024         {
00025         // Create an HsWidget document, and return a pointer to it
00026         return CHsWidgetDocument::NewL(*this);
00027         }
00028 
00029 // -----------------------------------------------------------------------------
00030 // CHsWidgetApplication::AppDllUid()
00031 // Returns application UID
00032 // -----------------------------------------------------------------------------
00033 //
00034 TUid CHsWidgetApplication::AppDllUid() const
00035         {
00036         // Return the UID for the HsWidget application
00037         return KUidHsWidgetApp;
00038         }
00039 
00040 // End of File

© Nokia 2009

Back to top