examples/ForumNokia/Symbian_OS_Basics_Lab_Exercises_v3_1/Lab_04307.cb1/starter/src/S60ResourceLabApplication.cpp

00001 // Copyright (c) 2006 Nokia Corporation.
00002 
00003 // INCLUDE FILES
00004 #include "S60ResourceLabDocument.h"
00005 #include "S60ResourceLabApplication.h"
00006 
00007 // ============================ MEMBER FUNCTIONS ===============================
00008 
00009 // UID for the application;
00010 // this should correspond to the uid defined in the mmp file
00011 const TUid KUidS60ResourceLabApp = { 0x0D812E3F };
00012 
00013 // -----------------------------------------------------------------------------
00014 // CS60ResourceLabApp::CreateDocumentL()
00015 // Creates CApaDocument object
00016 // -----------------------------------------------------------------------------
00017 //
00018 CApaDocument* CS60ResourceLabApp::CreateDocumentL()
00019     {
00020     // Create an S60ResourceLab document, and return a pointer to it
00021     return (static_cast<CApaDocument*>
00022                     ( CS60ResourceLabDocument::NewL( *this ) ) );
00023     }
00024 
00025 // -----------------------------------------------------------------------------
00026 // CS60ResourceLabApp::AppDllUid()
00027 // Returns application UID
00028 // -----------------------------------------------------------------------------
00029 //
00030 TUid CS60ResourceLabApp::AppDllUid() const
00031     {
00032     // Return the UID for the S60ResourceLab application
00033     return KUidS60ResourceLabApp;
00034     }
00035 
00036 // End of File

Generated by  doxygen 1.6.2