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

Symbian

开发平台:

C/C++

  1. // Copyright (c) 2006 Nokia Corporation.
  2. // INCLUDE FILES
  3. #include "S60ResourceLabDocument.h"
  4. #include "S60ResourceLabAppUi.h"
  5. // ================= MEMBER FUNCTIONS =======================
  6. // constructor
  7. CS60ResourceLabDocument::CS60ResourceLabDocument(CEikApplication& aApp)
  8. : CAknDocument(aApp)    
  9.     {
  10.     }
  11. // destructor
  12. CS60ResourceLabDocument::~CS60ResourceLabDocument()
  13.     {
  14.     }
  15. // EPOC default constructor can leave.
  16. void CS60ResourceLabDocument::ConstructL()
  17.     {
  18.     }
  19. // Two-phased constructor.
  20. CS60ResourceLabDocument* CS60ResourceLabDocument::NewL(
  21.         CEikApplication& aApp)     // CS60ResourceLabApp reference
  22.     {
  23.     CS60ResourceLabDocument* self = new (ELeave) CS60ResourceLabDocument( aApp );
  24.     CleanupStack::PushL( self );
  25.     self->ConstructL();
  26.     CleanupStack::Pop();
  27.     return self;
  28.     }
  29.     
  30. // ----------------------------------------------------
  31. // CS60ResourceLabDocument::CreateAppUiL()
  32. // constructs CS60ResourceLabAppUi
  33. // ----------------------------------------------------
  34. //
  35. CEikAppUi* CS60ResourceLabDocument::CreateAppUiL()
  36.     {
  37.     return new (ELeave) CS60ResourceLabAppUi;
  38.     }
  39. // End of File