os/ossrv/lowlevellibsandfws/pluginfw/TestExecute/EComPerfTest/src/EComPerfTestDllOne.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 of a plugin used for resolver performance tests
18 #include "EComPerfTestDllOne.h"
20 // __________________________________________________________________________
23 CImplementationClassExampleOne* CImplementationClassExampleOne::NewL(TAny* aInitParams)
25 CImplementationClassExampleOne* self=new(ELeave) CImplementationClassExampleOne(); // calls c'tor
26 CleanupStack::PushL(self); // Make the construction safe by using the cleanup stack
27 self->ConstructL(aInitParams); // Complete the 'construction'.
28 CleanupStack::Pop(self);
32 CImplementationClassExampleOne::~CImplementationClassExampleOne()
36 CImplementationClassExampleOne::CImplementationClassExampleOne()
38 // Deliberately do nothing here : See ConstructL() for initialisation completion.
41 void CImplementationClassExampleOne::ConstructL(TAny*)
45 // __________________________________________________________________________
46 // Exported proxy for instantiation method resolution
47 // Define the interface UIDs
48 const TImplementationProxy ImplementationTable[] =
50 IMPLEMENTATION_PROXY_ENTRY(0x10009DF5, CImplementationClassExampleOne::NewL)
53 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount)
55 aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy);
56 return ImplementationTable;