remotemgmt_plat/syncml_ds_customization_api/tsrc/SyncFwCustomizer/src/SyncFwCustomizerDocument.cpp
branchRCL_3
changeset 25 b183ec05bd8c
parent 24 13d7c31c74e0
child 26 19bba8228ff0
equal deleted inserted replaced
24:13d7c31c74e0 25:b183ec05bd8c
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 *
       
    16 */
       
    17 
       
    18 #include "SyncFwCustomizerDocument.h"
       
    19 #include "SyncFwCustomizerAppUi.h"
       
    20 
       
    21 /**
       
    22  * @brief Constructs the document class for the application.
       
    23  * @param anApplication the application instance
       
    24  */
       
    25 CSyncFwCustomizerDocument::CSyncFwCustomizerDocument( CEikApplication& anApplication )
       
    26 	: CAknDocument( anApplication )
       
    27 	{
       
    28 	}
       
    29 
       
    30 /**
       
    31  * @brief Completes the second phase of Symbian object construction. 
       
    32  * Put initialization code that could leave here.  
       
    33  */ 
       
    34 void CSyncFwCustomizerDocument::ConstructL()
       
    35 	{
       
    36 	}
       
    37 	
       
    38 /**
       
    39  * Symbian OS two-phase constructor.
       
    40  *
       
    41  * Creates an instance of CSyncFwCustomizerDocument, constructs it, and
       
    42  * returns it.
       
    43  *
       
    44  * @param aApp the application instance
       
    45  * @return the new CSyncFwCustomizerDocument
       
    46  */
       
    47 CSyncFwCustomizerDocument* CSyncFwCustomizerDocument::NewL( CEikApplication& aApp )
       
    48 	{
       
    49 	CSyncFwCustomizerDocument* self = new ( ELeave ) CSyncFwCustomizerDocument( aApp );
       
    50 	CleanupStack::PushL( self );
       
    51 	self->ConstructL();
       
    52 	CleanupStack::Pop( self );
       
    53 	return self;
       
    54 	}
       
    55 
       
    56 /**
       
    57  * @brief Creates the application UI object for this document.
       
    58  * @return the new instance
       
    59  */	
       
    60 CEikAppUi* CSyncFwCustomizerDocument::CreateAppUiL()
       
    61 	{
       
    62 	return new ( ELeave ) CSyncFwCustomizerAppUi;
       
    63 	}
       
    64