examples/SFExamples/RecipeEx/src/RecipeExDocument.cpp

00001 // Symbian Foundation Example Code
00002 // 
00003 // This software is in the public domain. No copyright is claimed, and you 
00004 // may use it for any purpose without license from the Symbian Foundation.
00005 // No warranty for any purpose is expressed or implied by the authors or
00006 // the Symbian Foundation. 
00007  
00008 
00009 // INCLUDE FILES
00010 #include "RecipeExAppUi.h"
00011 #include "RecipeExDocument.h"
00012 
00013 // ============================ MEMBER FUNCTIONS ===============================
00014 
00019 CRecipeExDocument* CRecipeExDocument::NewL(CEikApplication& aApp)
00020         {
00021         CRecipeExDocument* self = NewLC(aApp);
00022         CleanupStack::Pop(self);
00023         return self;
00024         }
00025 
00031 CRecipeExDocument* CRecipeExDocument::NewLC(CEikApplication& aApp)
00032         {
00033         CRecipeExDocument* self = new (ELeave) CRecipeExDocument(aApp);
00034 
00035         CleanupStack::PushL(self);
00036         self->ConstructL();
00037         return self;
00038         }
00039 
00044 void CRecipeExDocument::ConstructL()
00045         {
00046         // No implementation required
00047         }
00048 
00053 CRecipeExDocument::CRecipeExDocument(CEikApplication& aApp) :
00054         CAknDocument(aApp)
00055         {
00056         // No implementation required
00057         }
00058 
00063 CRecipeExDocument::~CRecipeExDocument()
00064         {
00065         // No implementation required
00066         }
00067 
00072 CEikAppUi* CRecipeExDocument::CreateAppUiL()
00073         {
00074         // Create the application user interface, and return a pointer to it;
00075         // the framework takes ownership of this object
00076         return new (ELeave) CRecipeExAppUi;
00077         }
00078 
00079 // End of File

Generated by  doxygen 1.6.2