examples/AppFramework/UIControls/ControlFramework/src/ControlFrameworkApplication.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 <eikstart.h> 
00017 
00018 #include "ControlFrameworkApplication.h"
00019 #include "ControlFrameworkGlobals.h"
00020 #include "ControlFrameworkDocument.h"
00021 
00022 
00023 //Standard DLL entry point function.
00024 TInt E32Main()
00025         {
00026         return EikStart::RunApplication( CControlFrameworkApplication::NewApplication );
00027         }
00028 
00029 CControlFrameworkApplication::CControlFrameworkApplication()
00030         {
00031         }
00032 
00033 
00034 CControlFrameworkApplication::~CControlFrameworkApplication()
00035         {
00036         }
00037 
00038 TUid CControlFrameworkApplication::AppDllUid() const
00039         {
00040         return KUidControlFrameworkAppUid;
00041         }
00042 
00043 
00044 //Creates and returns an instance of the CApaApplication-derived class.
00045 CApaApplication* CControlFrameworkApplication::NewApplication()
00046         {
00047         return new CControlFrameworkApplication();
00048         }
00049 
00050 CApaDocument* CControlFrameworkApplication::CreateDocumentL()
00051         {
00052         return CControlFrameworkDocument::NewL(*this);
00053         }

Generated by  doxygen 1.6.2