os/ossrv/lowlevellibsandfws/pluginfw/TestExecute/EComSWITests/data/src/EComSWITestPluginOneUpg/EComSWITestPluginOneUpg.cpp
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
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".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 // The implementation of a plugin used for resolver performance tests
    15 // 
    16 //
    17 
    18 #include "EComSWITestPluginOneUpg.h"
    19 #include <ecom/ecom.h>
    20 
    21 // __________________________________________________________________________
    22 // Implementation
    23 
    24 CEComSwiPluginInterfaceImplementationOneUpg* CEComSwiPluginInterfaceImplementationOneUpg::NewL()
    25 	{
    26 	CEComSwiPluginInterfaceImplementationOneUpg* self=new(ELeave) CEComSwiPluginInterfaceImplementationOneUpg();  // 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);
    30 	return self;
    31 	}
    32 
    33 CEComSwiPluginInterfaceImplementationOneUpg::~CEComSwiPluginInterfaceImplementationOneUpg()
    34 	{
    35 	}
    36 
    37 CEComSwiPluginInterfaceImplementationOneUpg::CEComSwiPluginInterfaceImplementationOneUpg()
    38 	{
    39 	// Deliberately do nothing here : See ConstructL() for initialisation completion.
    40 	}
    41 
    42 void CEComSwiPluginInterfaceImplementationOneUpg::ConstructL()
    43 	{
    44 	}
    45 	
    46 void CEComSwiPluginInterfaceImplementationOneUpg::ReturnInt(TInt& aInt)
    47 	{
    48 	aInt=99887766;
    49 	}
    50 
    51 // __________________________________________________________________________
    52 // Exported proxy for instantiation method resolution
    53 // Define the interface UIDs
    54 const TImplementationProxy ImplementationTable[] = 
    55 	{
    56 	IMPLEMENTATION_PROXY_ENTRY(0x10282798, CEComSwiPluginInterfaceImplementationOneUpg::NewL)
    57 	};
    58 
    59 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount)
    60 	{
    61 	aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy);
    62 	
    63 	return ImplementationTable;
    64 	}
    65