diff -r 5aadd1120515 -r b57382753122 searchfw/plugins/notessearchplugin/src/proxy.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/searchfw/plugins/notessearchplugin/src/proxy.cpp Wed Nov 03 17:12:22 2010 +0530 @@ -0,0 +1,52 @@ +/* +* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: ECom search interface entrance. +* +*/ + + + +// SYSTEM INCLUDE FILES +#include +#include + +// USER INCLUDE FILES +#include "notessearchplugin.h" + + + +// Provides a key value pair table, this is used to identify +// the correct construction function for the requested interface. + +const TImplementationProxy ImplementationTable[] = + { + #ifdef __EABI__ + IMPLEMENTATION_PROXY_ENTRY(0x102823FA,CNotesSearchPlugin::NewL ) // ---for armv5 + #else + { { 0x102823FA }, CNotesSearchPlugin::NewL} //---for wins + #endif + + // IMPLEMENTATION_PROXY_ENTRY( 0x10200213,CNotesSearchPlugin::NewL ) + }; + + +// Function used to return an instance of the proxy table. +EXPORT_C const TImplementationProxy* ImplementationGroupProxy( TInt& aTableCount ) + { + aTableCount = sizeof( ImplementationTable ) / sizeof( TImplementationProxy ); + return ImplementationTable; + } + +//end of file +