S60UIExampleApplication.cpp
上传用户:laixiong
上传日期:2007-03-11
资源大小:2994k
文件大小:1k
源码类别:
Symbian
开发平台:
C/C++
- /// Copyright (c) 2006 Nokia Corporation.
- #include "S60UIExampleDocument.h"
- #include "S60UIExampleApplication.h"
- // UID for the application;
- // this should correspond to the uid defined in the mmp file
- const TUid KUidS60UIExampleApp = { 0x08B9993D };
- // -----------------------------------------------------------------------------
- // CS60UIExampleApplication::CreateDocumentL()
- // Creates CApaDocument object
- // -----------------------------------------------------------------------------
- //
- CApaDocument* CS60UIExampleApplication::CreateDocumentL()
- {
- // Create an S60UIExample document, and return a pointer to it
- return (static_cast<CApaDocument*>
- ( CS60UIExampleDocument::NewL( *this ) ) );
- }
- // -----------------------------------------------------------------------------
- // CS60UIExampleApplication::AppDllUid()
- // Returns application UID
- // -----------------------------------------------------------------------------
- //
- TUid CS60UIExampleApplication::AppDllUid() const
- {
- // Return the UID for the S60UIExample application
- return KUidS60UIExampleApp;
- }
- // End of File