remotemgmt_plat/syncml_ds_customization_api/tsrc/SyncFwCustomizer/src/SyncFwCustomizerDocument.cpp
author Pat Downey <patd@symbian.org>
Wed, 01 Sep 2010 12:27:42 +0100
branchRCL_3
changeset 26 19bba8228ff0
parent 11 06f47423ecee
permissions -rw-r--r--
Revert incorrect RCL_3 drop: Revision: 201033 Kit: 201035

/*
* Copyright (c) 2009 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 "SyncFwCustomizerDocument.h"
#include "SyncFwCustomizerAppUi.h"

/**
 * @brief Constructs the document class for the application.
 * @param anApplication the application instance
 */
CSyncFwCustomizerDocument::CSyncFwCustomizerDocument( CEikApplication& anApplication )
	: CAknDocument( anApplication )
	{
	}

/**
 * @brief Completes the second phase of Symbian object construction. 
 * Put initialization code that could leave here.  
 */ 
void CSyncFwCustomizerDocument::ConstructL()
	{
	}
	
/**
 * Symbian OS two-phase constructor.
 *
 * Creates an instance of CSyncFwCustomizerDocument, constructs it, and
 * returns it.
 *
 * @param aApp the application instance
 * @return the new CSyncFwCustomizerDocument
 */
CSyncFwCustomizerDocument* CSyncFwCustomizerDocument::NewL( CEikApplication& aApp )
	{
	CSyncFwCustomizerDocument* self = new ( ELeave ) CSyncFwCustomizerDocument( aApp );
	CleanupStack::PushL( self );
	self->ConstructL();
	CleanupStack::Pop( self );
	return self;
	}

/**
 * @brief Creates the application UI object for this document.
 * @return the new instance
 */	
CEikAppUi* CSyncFwCustomizerDocument::CreateAppUiL()
	{
	return new ( ELeave ) CSyncFwCustomizerAppUi;
	}