installationservices/swi/test/testexes/interpretsis_testcase/interpretsis_testcase_Document.cpp
branchRCL_3
changeset 25 7333d7932ef7
equal deleted inserted replaced
24:5cc91383ab1e 25:7333d7932ef7
       
     1 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // HelloWorld_CExampleDocument.cpp
       
    15 // Source file for the implementation of the 
       
    16 // document class - CExampleDocument
       
    17 //
       
    18 
       
    19 #include "interpretsis_testcase.h"
       
    20 
       
    21 //             The constructor of the document class just passes the
       
    22 //             supplied reference to the constructor initialisation list.
       
    23 //             The document has no real work to do in this application.
       
    24 //
       
    25 CExampleDocument::CExampleDocument(CEikApplication& aApp)
       
    26 		: CEikDocument(aApp)
       
    27 	{
       
    28 	}
       
    29 
       
    30 
       
    31 //             This is called by the UI framework as soon as the 
       
    32 //             document has been created. It creates an instance
       
    33 //             of the ApplicationUI. The Application UI class is
       
    34 //             an instance of a CEikAppUi derived class.
       
    35 //
       
    36 CEikAppUi* CExampleDocument::CreateAppUiL()
       
    37 	{
       
    38     return new(ELeave) CExampleAppUi;
       
    39 	}