sl@0: // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // The implementation of a plugin used for resolver performance tests sl@0: // sl@0: // sl@0: sl@0: #include "EComPerfTestDllOne.h" sl@0: sl@0: // __________________________________________________________________________ sl@0: // Implementation sl@0: sl@0: CImplementationClassExampleOne* CImplementationClassExampleOne::NewL(TAny* aInitParams) sl@0: { sl@0: CImplementationClassExampleOne* self=new(ELeave) CImplementationClassExampleOne(); // calls c'tor sl@0: CleanupStack::PushL(self); // Make the construction safe by using the cleanup stack sl@0: self->ConstructL(aInitParams); // Complete the 'construction'. sl@0: CleanupStack::Pop(self); sl@0: return self; sl@0: } sl@0: sl@0: CImplementationClassExampleOne::~CImplementationClassExampleOne() sl@0: { sl@0: } sl@0: sl@0: CImplementationClassExampleOne::CImplementationClassExampleOne() sl@0: { sl@0: // Deliberately do nothing here : See ConstructL() for initialisation completion. sl@0: } sl@0: sl@0: void CImplementationClassExampleOne::ConstructL(TAny*) sl@0: { sl@0: } sl@0: sl@0: // __________________________________________________________________________ sl@0: // Exported proxy for instantiation method resolution sl@0: // Define the interface UIDs sl@0: const TImplementationProxy ImplementationTable[] = sl@0: { sl@0: IMPLEMENTATION_PROXY_ENTRY(0x10009DF5, CImplementationClassExampleOne::NewL) sl@0: }; sl@0: sl@0: EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount) sl@0: { sl@0: aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy); sl@0: return ImplementationTable; sl@0: } sl@0: