S60MMFLabDocument.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 "S60MMFLabAppUi.h"
  5. // ================= MEMBER FUNCTIONS =======================
  6. // constructor
  7. CS60MMFLabDocument::CS60MMFLabDocument(CEikApplication& aApp)
  8. : CAknDocument(aApp)    
  9.     {
  10.     }
  11. // destructor
  12. CS60MMFLabDocument::~CS60MMFLabDocument()
  13.     {
  14.     }
  15. // EPOC default constructor can leave.
  16. void CS60MMFLabDocument::ConstructL()
  17.     {
  18.     }
  19. // Two-phased constructor.
  20. CS60MMFLabDocument* CS60MMFLabDocument::NewL(
  21.         CEikApplication& aApp)     // CS60MMFLabApp reference
  22.     {
  23.     CS60MMFLabDocument* self = new (ELeave) CS60MMFLabDocument( aApp );
  24.     CleanupStack::PushL( self );
  25.     self->ConstructL();
  26.     CleanupStack::Pop();
  27.     return self;
  28.     }
  29.     
  30. // ----------------------------------------------------
  31. // CS60MMFLabDocument::CreateAppUiL()
  32. // constructs CS60MMFLabAppUi
  33. // ----------------------------------------------------
  34. //
  35. CEikAppUi* CS60MMFLabDocument::CreateAppUiL()
  36.     {
  37.     return new (ELeave) CS60MMFLabAppUi;
  38.     }
  39. // End of File