examples/ForumNokia/EComCalculator/client/src/EComCalculatorDocument.cpp

00001 /*
00002  * ============================================================================
00003  *  Name     : CEComCalculatorDocument from EComCalculatorDocument.cpp
00004  *  Part of  : EComCalculator
00005  *  Created  : 17/11/2003 by Forum Nokia
00006  *  Version  : 1.0
00007  *  Copyright: Nokia Corporation
00008  * ============================================================================
00009  */
00010 
00011 #include "EComCalculatorAppUi.h"
00012 #include "EComCalculatorDocument.h"
00013 
00014 // Create instance of document.
00015 CEComCalculatorDocument* CEComCalculatorDocument::NewL(CEikApplication& aApp)
00016     {
00017     CEComCalculatorDocument* self = new (ELeave) CEComCalculatorDocument(aApp);
00018     CleanupStack::PushL(self);
00019     self->ConstructL();
00020     CleanupStack::Pop(self);
00021     return self;
00022     }
00023 
00024 // Perform second phase construction
00025 void CEComCalculatorDocument::ConstructL()
00026     {
00027     // No implementation required
00028     }
00029 
00030 // Constructor
00031 CEComCalculatorDocument::CEComCalculatorDocument(CEikApplication& aApp)
00032 : CAknDocument(aApp)
00033     {
00034     // No implementation required
00035     }
00036 
00037 // Destructor
00038 CEComCalculatorDocument::~CEComCalculatorDocument()
00039     {
00040     // No implementation required
00041     }
00042 
00043 // Create the AppUi.
00044 CEikAppUi* CEComCalculatorDocument::CreateAppUiL()
00045     {
00046     return (static_cast<CEikAppUi*>(new(ELeave)CEComCalculatorAppUi));
00047     }
00048 

Generated by  doxygen 1.6.2