os/ossrv/lowlevellibsandfws/pluginfw/TestExecute/EComPerfTest/src/EComPerfTestDllTwo.cpp
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
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".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 // The implementation for plugin used for resolver performance tests
    15 // 
    16 //
    17 
    18 #include "EComPerfTestDllTwo.h"
    19 // __________________________________________________________________________
    20 // Implementation
    21 
    22 CImplementationClassExampleTwo* CImplementationClassExampleTwo::NewL(TAny* aInitParams)
    23 	{
    24 	CImplementationClassExampleTwo* self=new(ELeave) CImplementationClassExampleTwo();  // calls c'tor
    25 	CleanupStack::PushL(self);	// Make the construction safe by using the cleanup stack
    26 	self->ConstructL(aInitParams); // Complete the 'construction'.
    27 	CleanupStack::Pop(self);
    28 	return self;
    29 	}
    30 
    31 CImplementationClassExampleTwo::~CImplementationClassExampleTwo()
    32 	{
    33 	}
    34 
    35 CImplementationClassExampleTwo::CImplementationClassExampleTwo()
    36 	{
    37 	// Deliberately do nothing here : See ConstructL() for initialisation completion.
    38 	}
    39 
    40 void CImplementationClassExampleTwo::ConstructL(TAny*)
    41 	{
    42 	}
    43 
    44 // __________________________________________________________________________
    45 // Exported proxy for instantiation method resolution
    46 // Define the interface UIDs
    47 const TImplementationProxy ImplementationTable[] = 
    48 	{
    49 		IMPLEMENTATION_PROXY_ENTRY(0x10009DF6,	CImplementationClassExampleTwo::NewL)
    50 	};
    51 
    52 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount)
    53 	{
    54 	aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy);
    55 	return ImplementationTable;
    56 	}
    57