os/ossrv/lowlevellibsandfws/pluginfw/TestExecute/EComPerfTest/src/EComPerfTestDllTwo.cpp
First public contribution.
1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // The implementation for plugin used for resolver performance tests
18 #include "EComPerfTestDllTwo.h"
19 // __________________________________________________________________________
22 CImplementationClassExampleTwo* CImplementationClassExampleTwo::NewL(TAny* aInitParams)
24 CImplementationClassExampleTwo* self=new(ELeave) CImplementationClassExampleTwo(); // calls c'tor
25 CleanupStack::PushL(self); // Make the construction safe by using the cleanup stack
26 self->ConstructL(aInitParams); // Complete the 'construction'.
27 CleanupStack::Pop(self);
31 CImplementationClassExampleTwo::~CImplementationClassExampleTwo()
35 CImplementationClassExampleTwo::CImplementationClassExampleTwo()
37 // Deliberately do nothing here : See ConstructL() for initialisation completion.
40 void CImplementationClassExampleTwo::ConstructL(TAny*)
44 // __________________________________________________________________________
45 // Exported proxy for instantiation method resolution
46 // Define the interface UIDs
47 const TImplementationProxy ImplementationTable[] =
49 IMPLEMENTATION_PROXY_ENTRY(0x10009DF6, CImplementationClassExampleTwo::NewL)
52 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount)
54 aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy);
55 return ImplementationTable;