examples/ForumNokia/AudioStreamExample/src/AudioStreamDocument.cpp

00001 /*
00002  * Copyright � 2008 Nokia Corporation.
00003  */
00004 
00005 // INCLUDE FILES
00006 #include "AudioStreamDocument.h"
00007 #include "AudioStreamAppUi.h"
00008 
00009 
00010 CAudioStreamDocument* CAudioStreamDocument::NewL(
00011         CEikApplication& aApp)     // CAudioStreamApp reference
00012     {
00013     CAudioStreamDocument* self = new (ELeave) CAudioStreamDocument( aApp );
00014     CleanupStack::PushL( self );
00015     self->ConstructL();
00016     CleanupStack::Pop(self);
00017     return self;
00018     }
00019 
00020 // ----------------------------------------------------------------------------
00021 // CAudioStreamDocument::CAudioStreamDocument(CEikApplication& aApp)
00022 //
00023 // constructor
00024 // ----------------------------------------------------------------------------
00025 CAudioStreamDocument::CAudioStreamDocument(CEikApplication& aApp):
00026     CAknDocument(aApp)    
00027     {
00028     }
00029 
00030 // ----------------------------------------------------------------------------
00031 // CAudioStreamDocument::~CAudioStreamDocument()
00032 //
00033 // destructor
00034 // ----------------------------------------------------------------------------
00035 CAudioStreamDocument::~CAudioStreamDocument()
00036     {
00037     }
00038 
00039 // ----------------------------------------------------------------------------
00040 // CAudioStreamDocument::ConstructL()
00041 //
00042 // Standard EPOC 2nd phase constructor
00043 // ----------------------------------------------------------------------------
00044 void CAudioStreamDocument::ConstructL()
00045     {
00046     }
00047 
00048     
00049 // ----------------------------------------------------------------------------
00050 // CAudioStreamDocument::CreateAppUiL()
00051 // constructs CAudioStreamAppUi
00052 // ----------------------------------------------------------------------------
00053 CEikAppUi* CAudioStreamDocument::CreateAppUiL()
00054     {
00055     return new (ELeave) CAudioStreamAppUi;
00056     }
00057 
00058 // End of File  
00059 

Generated by  doxygen 1.6.2