Nokia N97 SDK
Example Applications Guide

HsWidgetApplication.cpp

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

© Nokia 2009

Back to top