systemswstubs/hwrmstubplugins/src/proxy.cpp
changeset 46 e1758cbb96ac
parent 0 0ce1b5ce9557
equal deleted inserted replaced
43:e71858845f73 46:e1758cbb96ac
       
     1 /*
       
     2 * Copyright (c) 2002-2005 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Hardware Resource Manager stub plugins proxy definition file
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include <e32std.h>
       
    20 #include <ecom/implementationproxy.h>
       
    21 
       
    22 #include "LightPlugin.h"
       
    23 #include "VibraPlugin.h"
       
    24 #include "FmtxPlugin.h"
       
    25 #include "PowerStatePlugin.h"
       
    26 
       
    27 // Map the interface implementation UIDs to implementation factory functions
       
    28 const TImplementationProxy ImplementationTable[] =
       
    29     {
       
    30     IMPLEMENTATION_PROXY_ENTRY(0x1020503F,	CLightPlugin::NewL),
       
    31     IMPLEMENTATION_PROXY_ENTRY(0x1020503E,	CVibraPlugin::NewL),
       
    32     IMPLEMENTATION_PROXY_ENTRY(0x2000BF15,	CFmtxPlugin::NewL),
       
    33     IMPLEMENTATION_PROXY_ENTRY(0x1020503D,	CPowerStatePlugin::NewL)
       
    34     };
       
    35 
       
    36 // Exported proxy for instantiation method resolution.
       
    37 EXPORT_C const TImplementationProxy* ImplementationGroupProxy( TInt& aTableCount )
       
    38     {
       
    39     aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy);
       
    40     return ImplementationTable;
       
    41     }