examples/HelloWorld/HelloWorld_Document.cpp

00001 // Copyright (c) 2000-2009 Nokia Corporation and/or its subsidiary(-ies).
00002 // All rights reserved.
00003 // This component and the accompanying materials are made available
00004 // under the terms of "Eclipse Public License v1.0"
00005 // which accompanies this distribution, and is available
00006 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
00007 //
00008 // Initial Contributors:
00009 // Nokia Corporation - initial contribution.
00010 //
00011 // Contributors:
00012 //
00013 // Description:
00014 // HelloWorld_CExampleDocument.cpp
00015 // Source file for the implementation of the 
00016 // document class - CExampleDocument
00017 //
00018 
00019 #include "HelloWorld.h"
00020 
00021 //             The constructor of the document class just passes the
00022 //             supplied reference to the constructor initialisation list.
00023 //             The document has no real work to do in this application.
00024 //
00025 CExampleDocument::CExampleDocument(CEikApplication& aApp)
00026                 : CEikDocument(aApp)
00027         {
00028         }
00029 
00030 
00031 //             This is called by the UI framework as soon as the 
00032 //             document has been created. It creates an instance
00033 //             of the ApplicationUI. The Application UI class is
00034 //             an instance of a CEikAppUi derived class.
00035 //
00036 CEikAppUi* CExampleDocument::CreateAppUiL()
00037         {
00038     return new(ELeave) CExampleAppUi;
00039         }

Generated by  doxygen 1.6.2