examples/AppFramework/Apparc/EmbApp/embedded_main.cpp

00001 // Copyright (c) 2005-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 "embedded.h"
00017 #include <eikstart.h>
00018 
00019 // DLL entry point function.
00020 TInt E32Dll()
00021         {
00022         return KErrNone;
00023         }
00024 
00025 // Creates and returns an instance of the CApaApplication-derived class.
00026 static CApaApplication* NewApplication()
00027         {
00028         return new CExampleApplication;
00029         }
00030 
00031 // Map the interface UIDs
00032 static const TImplementationProxy ImplementationTable[]=
00033         {
00034         IMPLEMENTATION_PROXY_ENTRY(0xE800008F, NewApplication)
00035         };
00036 
00037 // Exported proxy for instantiation method resolution
00038 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount)
00039         {
00040         aTableCount=sizeof(ImplementationTable)/sizeof(ImplementationTable[0]);
00041         return ImplementationTable;
00042         }

Generated by  doxygen 1.6.2