tsrc/CenrepEditor/Src/cenrepeditordocument.cpp
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 17 Dec 2009 08:44:37 +0200
changeset 0 f0cf47e981f9
permissions -rw-r--r--
Revision: 200949 Kit: 200951

/*
* Copyright (c) 2002-2005 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  
*
*/


// INCLUDE FILES
#include "cenrepeditordocument.h"
#include "cenrepeditorappui.h"

// ================= MEMBER FUNCTIONS =======================

// -----------------------------------------------------------------------------
// CCenrepEditorDocument::CCenrepEditorDocument(CEikApplication& aApp)
// C++ default constructor can NOT contain any code, that
// might leave.
// -----------------------------------------------------------------------------
//
CCenrepEditorDocument::CCenrepEditorDocument(CEikApplication& aApp)
: CAknDocument(aApp)    
    {
    }

// -----------------------------------------------------------------------------
// CCenrepEditorDocument::~CCenrepEditorDocument()
// Destructor.
// -----------------------------------------------------------------------------
//
CCenrepEditorDocument::~CCenrepEditorDocument()
    {
     
    }

// -----------------------------------------------------------------------------
// CCenrepEditorDocument::ConstructL()
// Symbian 2nd phase constructor can leave.
// -----------------------------------------------------------------------------
//
void CCenrepEditorDocument::ConstructL()
    {   
    
    }

// -----------------------------------------------------------------------------
// CCenrepEditorDocument::NewL(CEikApplication& aApp)
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
CCenrepEditorDocument* CCenrepEditorDocument::NewL(CEikApplication& aApp)     // CCenrepEditorApp reference
    {
    CCenrepEditorDocument* self = new (ELeave) CCenrepEditorDocument( aApp );
    CleanupStack::PushL( self );
    self->ConstructL();
    CleanupStack::Pop();
    return self;
    }
    
// ----------------------------------------------------
// CCenrepEditorDocument::CreateAppUiL()
// Constructs CCenrepEditorAppUi.
// ----------------------------------------------------
//
CEikAppUi* CCenrepEditorDocument::CreateAppUiL()
    {
    return new (ELeave) CCenrepEditorAppUi;
    }