examples/AppFramework/UIControls/ControlFramework/src/ControlFrameworkDocument.cpp

00001 // Copyright (c) 2006-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 //
00015 
00016 #include <eikapp.h>
00017 
00018 #include "ControlFrameworkDocument.h"
00019 #include "ControlFrameworkAppUi.h"
00020 
00021 
00022 CControlFrameworkDocument::CControlFrameworkDocument(CEikApplication& aApp) : CEikDocument(aApp)
00023         {
00024         }
00025 
00026 CControlFrameworkDocument::~CControlFrameworkDocument()
00027         {
00028         }
00029 
00030 CControlFrameworkDocument* CControlFrameworkDocument::NewL(CEikApplication& aApp)
00031         {
00032         return new(ELeave) CControlFrameworkDocument(aApp);
00033         }
00034 
00035 //Called by the UI framework to construct the application UI class. 
00036 //Note that the app UI's ConstructL() is called by the UI framework.
00037 CEikAppUi* CControlFrameworkDocument::CreateAppUiL()
00038         {
00039         return new(ELeave) CControlFrameworkAppUi();
00040         }

Generated by  doxygen 1.6.2