examples/ForumNokia/Symbian_OS_Basics_Lab_Exercises_v3_1/Lab_04304.cb1/starter/src/S60MemoryLabApplication.cpp

00001 // Copyright: (c) 2006 Nokia Ltd.  All rights reserved.
00002 
00003 // INCLUDE FILES
00004 #include "S60MemoryLabDocument.h"
00005 #include "S60MemoryLabApplication.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 KUidS60MemoryLabApp = { 0x101F8BEE };
00012 
00013 // -----------------------------------------------------------------------------
00014 // CS60MemoryLabApplication::CreateDocumentL()
00015 // Creates CApaDocument object
00016 // -----------------------------------------------------------------------------
00017 //
00018 CApaDocument* CS60MemoryLabApplication::CreateDocumentL()
00019     {
00020     // Create an S60MemoryLab document, and return a pointer to it
00021     return (static_cast<CApaDocument*>
00022                     ( CS60MemoryLabDocument::NewL( *this ) ) );
00023     }
00024 
00025 // -----------------------------------------------------------------------------
00026 // CS60MemoryLabApplication::AppDllUid()
00027 // Returns application UID
00028 // -----------------------------------------------------------------------------
00029 //
00030 TUid CS60MemoryLabApplication::AppDllUid() const
00031     {
00032     // Return the UID for the S60MemoryLab application
00033     return KUidS60MemoryLabApp;
00034     }
00035 
00036 // End of File

Generated by  doxygen 1.6.2