sl@0: /* sl@0: * Copyright (c) 2009 Symbian Foundation Ltd sl@0: * This component and the accompanying materials are made available sl@0: * under the terms of the License "Eclipse Public License v1.0" sl@0: * which accompanies this distribution, and is available sl@0: * at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: * sl@0: * Initial Contributors: sl@0: * Symbian Foundation Ltd - initial contribution. sl@0: * sl@0: * Contributors: sl@0: * sl@0: * Description: sl@0: * Implementation of CTigerDocument class sl@0: */ sl@0: sl@0: sl@0: // INCLUDE FILES sl@0: #include "TigerDocument.h" sl@0: #include "TigerAppUi.h" sl@0: sl@0: // ================= MEMBER FUNCTIONS ======================= sl@0: sl@0: // ----------------------------------------------------------------------------- sl@0: // CTigerDocument::CTigerDocument sl@0: // sl@0: // Just calls the base class constructor. sl@0: // ----------------------------------------------------------------------------- sl@0: // sl@0: sl@0: CTigerDocument::CTigerDocument(CEikApplication& aApp) sl@0: : CAknDocument(aApp) sl@0: { sl@0: } sl@0: sl@0: // ----------------------------------------------------------------------------- sl@0: // CTigerDocument::~CTigerDocument sl@0: // sl@0: // Empty destructor. sl@0: // ----------------------------------------------------------------------------- sl@0: // sl@0: sl@0: CTigerDocument::~CTigerDocument() sl@0: { sl@0: } sl@0: sl@0: // ----------------------------------------------------------------------------- sl@0: // CTigerDocument::ConstructL sl@0: // sl@0: // Empty 2nd phase constructor. sl@0: // ----------------------------------------------------------------------------- sl@0: // sl@0: sl@0: void CTigerDocument::ConstructL() sl@0: { sl@0: } sl@0: sl@0: // ----------------------------------------------------------------------------- sl@0: // CTigerDocument::NewL sl@0: // sl@0: // ----------------------------------------------------------------------------- sl@0: // sl@0: sl@0: CTigerDocument* CTigerDocument::NewL( sl@0: CEikApplication& aApp) // CTigerApp reference sl@0: { sl@0: CTigerDocument* self = new (ELeave) CTigerDocument( aApp ); sl@0: CleanupStack::PushL( self ); sl@0: self->ConstructL(); sl@0: CleanupStack::Pop(); sl@0: sl@0: return self; sl@0: } sl@0: sl@0: // ---------------------------------------------------- sl@0: // CTigerDocument::CreateAppUiL() sl@0: // Constructs and returns a CTigerAppUi object. sl@0: // ---------------------------------------------------- sl@0: // sl@0: sl@0: CEikAppUi* CTigerDocument::CreateAppUiL() sl@0: { sl@0: return new (ELeave) CTigerAppUi; sl@0: } sl@0: sl@0: // End of File