diff -r f345bda72bc4 -r 43e37759235e Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/embedded__main_8cpp_source.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/embedded__main_8cpp_source.html Tue Mar 30 16:16:55 2010 +0100 @@ -0,0 +1,58 @@ + + +
+ +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 } +