os/ossrv/lowlevellibsandfws/pluginfw/TestExecute/EComSWITests/data/src/EComSWITestPluginTwo/EComSWITestPluginTwo.cpp
Update contrib.
1 // Copyright (c) 2006-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 "EComSWITestPluginTwo.h"
22 // __________________________________________________________________________
25 CEComSwiPluginInterfaceImplementationTwo* CEComSwiPluginInterfaceImplementationTwo::NewL()
27 CEComSwiPluginInterfaceImplementationTwo* self=new(ELeave) CEComSwiPluginInterfaceImplementationTwo(); // calls c'tor
28 CleanupStack::PushL(self); // Make the construction safe by using the cleanup stack
29 self->ConstructL(); // Complete the 'construction'.
30 CleanupStack::Pop(self);
34 CEComSwiPluginInterfaceImplementationTwo::~CEComSwiPluginInterfaceImplementationTwo()
38 CEComSwiPluginInterfaceImplementationTwo::CEComSwiPluginInterfaceImplementationTwo()
40 // Deliberately do nothing here : See ConstructL() for initialisation completion.
43 void CEComSwiPluginInterfaceImplementationTwo::ConstructL()
47 void CEComSwiPluginInterfaceImplementationTwo::ReturnInt(TInt& aInt)
53 // __________________________________________________________________________
54 // Exported proxy for instantiation method resolution
55 // Define the interface UIDs
56 const TImplementationProxy ImplementationTable[] =
58 IMPLEMENTATION_PROXY_ENTRY(0x102827F5, CEComSwiPluginInterfaceImplementationTwo::NewL)
61 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount)
63 aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy);
64 return ImplementationTable;