examples/ForumNokia/HTTPClientExample/src/ClientDocument.cpp

00001 /*
00002  * Copyright (c) 2009 Nokia Corporation.
00003  */
00004 
00005 #include "ClientAppUi.h"
00006 #include "ClientDocument.h"
00007 
00008 // ----------------------------------------------------------------------------
00009 // CClientDocument::NewL()
00010 //
00011 // Creates instance of CClientDocument.
00012 // ----------------------------------------------------------------------------
00013 CClientDocument* CClientDocument::NewL(CEikApplication& aApp)
00014   {
00015     CClientDocument* self = NewLC(aApp);
00016     CleanupStack::Pop(self);
00017     return self;
00018   }
00019 
00020 // ----------------------------------------------------------------------------
00021 // CClientDocument::NewLC()
00022 //
00023 // Creates instance of CClientDocument.
00024 // ----------------------------------------------------------------------------
00025 CClientDocument* CClientDocument::NewLC(CEikApplication& aApp)
00026   {
00027     CClientDocument* self = new (ELeave) CClientDocument(aApp);
00028     CleanupStack::PushL(self);
00029     self->ConstructL();
00030     return self;
00031   }
00032 
00033 // ----------------------------------------------------------------------------
00034 // CClientDocument::ConstructL()
00035 //
00036 // Second phase construction.
00037 // ----------------------------------------------------------------------------
00038 void CClientDocument::ConstructL()
00039   {
00040   }
00041 
00042 // ----------------------------------------------------------------------------
00043 // CClientDocument::CClientDocument()
00044 //
00045 // First phase construction.
00046 // ----------------------------------------------------------------------------
00047 CClientDocument::CClientDocument(CEikApplication& aApp)
00048 : CAknDocument(aApp)
00049   {
00050   }
00051 
00052 // ----------------------------------------------------------------------------
00053 // CClientDocument::~CClientDocument()
00054 //
00055 // Destructor.
00056 // ----------------------------------------------------------------------------
00057 CClientDocument::~CClientDocument()
00058   {
00059   }
00060 
00061 // ----------------------------------------------------------------------------
00062 // CClientDocument::CreateAppUiL()
00063 //
00064 // Creates the application user interface, and returns a pointer to it.
00065 // The framework takes ownership of this object
00066 // ----------------------------------------------------------------------------
00067 CEikAppUi* CClientDocument::CreateAppUiL()
00068   {
00069   return (static_cast <CEikAppUi*> (new (ELeave) CClientAppUi));
00070   }
00071 
00072 // end of file

Generated by  doxygen 1.6.2