examples/SFExamples/Quick_Recipes_on_Symbian_OS_Multimedia_Example_Code/MidiPlaying/src/MidiPlayingDocument.cpp

00001 // 
00002 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
00003 // All rights reserved.
00004 // This component and the accompanying materials are made available
00005 // under the terms of the License "Eclipse Public License v1.0"
00006 // which accompanies this distribution, and is available
00007 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
00008 // 
00009 // Initial Contributors:
00010 // Nokia Corporation - initial contribution.
00011 // 
00012 // Contributors:
00013 // 
00014 // Description:
00015 // 
00016 
00017 // INCLUDES
00018 #include <eikapp.h>
00019 
00020 #include "MidiPlayingDocument.h"
00021 #include "MidiPlayingAppUi.h"
00022 
00023 // MEMBER FUNCTIONS
00024 
00025 CMidiPlayingDocument* CMidiPlayingDocument::NewL(CEikApplication& aApplication)
00026         {
00027         CMidiPlayingDocument* self = new (ELeave) CMidiPlayingDocument(aApplication);
00028         CleanupStack::PushL(self);
00029         self->ConstructL();
00030         CleanupStack::Pop(self);
00031         return self;
00032         }
00033 
00034 
00035 CMidiPlayingDocument::CMidiPlayingDocument(CEikApplication& aApp)
00036         : CAknDocument(aApp)
00037         {
00038         }
00039 
00040 void CMidiPlayingDocument::ConstructL()
00041         {
00042         }
00043         
00044 CEikAppUi* CMidiPlayingDocument::CreateAppUiL()
00045         {
00046         return static_cast <CEikAppUi*> (new (ELeave) CMidiPlayingAppUi());
00047         }
00048 
00049 // End of File

Generated by  doxygen 1.6.2