servicediscoveryandcontrol/pnp/test/testplugin/src/ecom_testimpl.cpp
changeset 0 f5a58ecadc66
equal deleted inserted replaced
-1:000000000000 0:f5a58ecadc66
       
     1 // Copyright (c) 2008-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 //
       
    15 
       
    16 #include <ecom/implementationproxy.h>
       
    17 #include "testpnpparamsextfactory.h"
       
    18 #include "testpnpparamset.h"
       
    19 #include "ctestpnpservicediscoveryimpl.h"
       
    20 #include "ctestpnpservicepublisherimpl.h"
       
    21   
       
    22 const TImplementationProxy ImplementationTable[] =
       
    23 	{
       
    24 	IMPLEMENTATION_PROXY_ENTRY(KTestPnPParamsFactoryUid, CTestPnPParamsExtFactory::NewL),
       
    25 	IMPLEMENTATION_PROXY_ENTRY(KTestPnPDiscoveryUid, CTestPnPServiceDiscoveryImpl::NewL),
       
    26 	IMPLEMENTATION_PROXY_ENTRY(KTestPnPPublisherUid, CTestPnPServicePublisherImpl::NewL)
       
    27 	};
       
    28 
       
    29 
       
    30 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount)
       
    31     {
       
    32     aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy);
       
    33     return ImplementationTable;
       
    34     }