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

Symbian

开发平台:

C/C++

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