S60UIExampleApplication.cpp
上传用户:laixiong
上传日期:2007-03-11
资源大小:2994k
文件大小:1k
源码类别:

Symbian

开发平台:

C/C++

  1. /// Copyright (c) 2006 Nokia Corporation.
  2. #include "S60UIExampleDocument.h"
  3. #include "S60UIExampleApplication.h"
  4. // UID for the application;
  5. // this should correspond to the uid defined in the mmp file
  6. const TUid KUidS60UIExampleApp = { 0x08B9993D };
  7. // -----------------------------------------------------------------------------
  8. // CS60UIExampleApplication::CreateDocumentL()
  9. // Creates CApaDocument object
  10. // -----------------------------------------------------------------------------
  11. //
  12. CApaDocument* CS60UIExampleApplication::CreateDocumentL()
  13.     {
  14.     // Create an S60UIExample document, and return a pointer to it
  15.     return (static_cast<CApaDocument*>
  16.                     ( CS60UIExampleDocument::NewL( *this ) ) );
  17.     }
  18. // -----------------------------------------------------------------------------
  19. // CS60UIExampleApplication::AppDllUid()
  20. // Returns application UID
  21. // -----------------------------------------------------------------------------
  22. //
  23. TUid CS60UIExampleApplication::AppDllUid() const
  24.     {
  25.     // Return the UID for the S60UIExample application
  26.     return KUidS60UIExampleApp;
  27.     }
  28. // End of File