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 hash file validation tests
 
    18 #include "EComHashExample.h"
 
    19 #include "TestUtilities.h"	
 
    20 // __________________________________________________________________________
 
    23 CImplementationHashExample* CImplementationHashExample::NewL(TAny* aInitParams)
 
    25 	CImplementationHashExample* self=new(ELeave) CImplementationHashExample();  // calls c'tor
 
    26 	CleanupStack::PushL(self);	// Make the construction safe by using the cleanup stack
 
    27 	self->ConstructL(aInitParams); // Complete the 'construction'.
 
    28 	CleanupStack::Pop(self);
 
    32 CImplementationHashExample::~CImplementationHashExample()
 
    36 CImplementationHashExample::CImplementationHashExample()
 
    38 	// Deliberately do nothing here : See ConstructL() for initialisation completion.
 
    41 void CImplementationHashExample::ConstructL(TAny*)
 
    45 // __________________________________________________________________________
 
    46 // Exported proxy for instantiation method resolution
 
    47 // Define the interface UIDs
 
    48 const TImplementationProxy ImplementationTable[] = 
 
    50 		IMPLEMENTATION_PROXY_ENTRY(0x10009E35,	CImplementationHashExample::NewL)
 
    53 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount)
 
    55 	aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy);
 
    56 	return ImplementationTable;