diff -r b183ec05bd8c -r 19bba8228ff0 remotemgmt_plat/syncml_ds_customization_api/tsrc/SyncFwCustomizer/src/SyncFwCustomizerDocument.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/remotemgmt_plat/syncml_ds_customization_api/tsrc/SyncFwCustomizer/src/SyncFwCustomizerDocument.cpp Wed Sep 01 12:27:42 2010 +0100 @@ -0,0 +1,64 @@ +/* +* 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; + } +