diff -r 000000000000 -r 3ce708148e4d devicediagnostics/diagsuites/diaghardwaresuiteplugin/src/diaghardwaresuitepluginimplementationtable.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/devicediagnostics/diagsuites/diaghardwaresuiteplugin/src/diaghardwaresuitepluginimplementationtable.cpp Thu Dec 17 08:40:12 2009 +0200 @@ -0,0 +1,50 @@ +/* +* Copyright (c) 2007 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: This is the ECOM implementation table for the Hardware Suite +* Plugin. +* +*/ + + +// System Include Files +#include // TImplementationProxy + +// User Include Files +#include "diaghardwaresuiteplugin.h" // CDiagHardwareSuitePlugin +#include "diaghardwaresuiteplugin.hrh" // UID Defintions + +// Local Constants +const TImplementationProxy KDiagHardwareSuitePluginImplementationTable[] = + { + IMPLEMENTATION_PROXY_ENTRY( + _IMPLEMENTATION_UID, + CDiagHardwareSuitePlugin::NewL ) + }; + + +// ============================ GLOBAL FUNCTIONS ============================= + +// --------------------------------------------------------------------------- +// Returns the implementation table. +// --------------------------------------------------------------------------- +// +EXPORT_C const TImplementationProxy* ImplementationGroupProxy( + TInt& aTableCount ) + { + aTableCount = sizeof( KDiagHardwareSuitePluginImplementationTable ) / + sizeof( TImplementationProxy ); + return KDiagHardwareSuitePluginImplementationTable; + } + +// End of File