os/ossrv/lowlevellibsandfws/pluginfw/TestExecute/EComSWITests/data/src/EComSWITestPluginThree/EComSWITestPluginThree.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 "EComSWITestPluginThree.h"
19 #include <ecom/ecom.h>
21 // __________________________________________________________________________
24 CEComSwiPluginInterfaceImplementationThree* CEComSwiPluginInterfaceImplementationThree::NewL()
26 CEComSwiPluginInterfaceImplementationThree* self=new(ELeave) CEComSwiPluginInterfaceImplementationThree(); // calls c'tor
27 CleanupStack::PushL(self); // Make the construction safe by using the cleanup stack
28 self->ConstructL(); // Complete the 'construction'.
29 CleanupStack::Pop(self);
33 CEComSwiPluginInterfaceImplementationThree::~CEComSwiPluginInterfaceImplementationThree()
37 CEComSwiPluginInterfaceImplementationThree::CEComSwiPluginInterfaceImplementationThree()
39 // Deliberately do nothing here : See ConstructL() for initialisation completion.
42 void CEComSwiPluginInterfaceImplementationThree::ConstructL()
46 void CEComSwiPluginInterfaceImplementationThree::ReturnInt(TInt& aInt)
51 // __________________________________________________________________________
52 // Exported proxy for instantiation method resolution
53 // Define the interface UIDs
54 const TImplementationProxy ImplementationTable[] =
56 IMPLEMENTATION_PROXY_ENTRY(0x10282B43, CEComSwiPluginInterfaceImplementationThree::NewL)
59 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount)
61 aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy);
63 return ImplementationTable;