installationservices/swi/test/testexes/testappinuse/HelloWorld_Document.cpp
changeset 0 ba25891c3a9e
equal deleted inserted replaced
-1:000000000000 0:ba25891c3a9e
       
     1 /*
       
     2 * Copyright (c) 2000-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 the License "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 * HelloWorld_CExampleDocument.cpp
       
    16 * Source file for the implementation of the 
       
    17 * document class - CExampleDocument
       
    18 *
       
    19 */
       
    20 
       
    21 
       
    22 #include "HelloWorld.h"
       
    23 
       
    24 //             The constructor of the document class just passes the
       
    25 //             supplied reference to the constructor initialisation list.
       
    26 //             The document has no real work to do in this application.
       
    27 //
       
    28 CExampleDocument::CExampleDocument(CEikApplication& aApp)
       
    29 		: CEikDocument(aApp)
       
    30 	{
       
    31 	}
       
    32 
       
    33 
       
    34 //             This is called by the UI framework as soon as the 
       
    35 //             document has been created. It creates an instance
       
    36 //             of the ApplicationUI. The Application UI class is
       
    37 //             an instance of a CEikAppUi derived class.
       
    38 //
       
    39 CEikAppUi* CExampleDocument::CreateAppUiL()
       
    40 	{
       
    41     return new(ELeave) CExampleAppUi;
       
    42 	}