examples/ForumNokia/ImageConverter/src/ImageConverterDocument.cpp

00001 /*
00002  * Copyright © 2008 Nokia Corporation.
00003  */
00004 
00005 #include "ImageConverterDocument.h"
00006 #include "ImageConverterAppUi.h"
00007 
00008 // ================= MEMBER FUNCTIONS =======================
00009 
00010 // constructor
00011 CImageConverterDocument::CImageConverterDocument(CEikApplication& aApp)
00012 : CAknDocument(aApp)    
00013     {
00014     }
00015 
00016 // destructor
00017 CImageConverterDocument::~CImageConverterDocument()
00018     {
00019     }
00020 
00021 // EPOC default constructor can leave.
00022 void CImageConverterDocument::ConstructL()
00023     {
00024     }
00025 
00026 // Two-phased constructor.
00027 CImageConverterDocument* CImageConverterDocument::NewL(
00028         CEikApplication& aApp)     // CImageConverterApp reference
00029     {
00030     CImageConverterDocument* self = 
00031         new (ELeave) CImageConverterDocument( aApp );
00032     CleanupStack::PushL( self );
00033     self->ConstructL();
00034     CleanupStack::Pop(self);
00035 
00036     return self;
00037     }
00038     
00039 // ----------------------------------------------------
00040 // CImageConverterDocument::CreateAppUiL()
00041 // constructs CImageConverterAppUi
00042 // ----------------------------------------------------
00043 //
00044 CEikAppUi* CImageConverterDocument::CreateAppUiL()
00045     {
00046     return new (ELeave) CImageConverterAppUi;
00047     }
00048 
00049 // End of File  

Generated by  doxygen 1.6.2