servicediscoveryandcontrol/pnp/test/upnp/Server/ControlPoint/src/ecom_impl.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 // ECOM Implementation for the UPnP Comms Framework Factories
       
    15 // @file
       
    16 // @internalComponent
       
    17 // 
       
    18 //
       
    19 
       
    20 #include <ecom/implementationproxy.h>
       
    21 #include <ecom/ecom.h>
       
    22 
       
    23 #include "upnptiermanagerfactory.h"
       
    24 #include "upnpmcprfactory.h"
       
    25 #include "upnpctrlcprfactory.h"
       
    26 #include "upnpctrlscprfactory.h"
       
    27 #include "upnpservicecprfactory.h"
       
    28 #include "upnpservicescprfactory.h"
       
    29 #include "upnpflowfactory.h"
       
    30 #include "app_protintf_fact.h"
       
    31 
       
    32 
       
    33 const TImplementationProxy ImplementationTable[] =
       
    34     {
       
    35     IMPLEMENTATION_PROXY_ENTRY(CUPnPTierManagerFactory::iUid, CUPnPTierManagerFactory::NewL),
       
    36 	IMPLEMENTATION_PROXY_ENTRY(CUPnPMetaConnectionProviderFactory::iUid, CUPnPMetaConnectionProviderFactory::NewL),
       
    37 	IMPLEMENTATION_PROXY_ENTRY(CUPnPControlConnectionProviderFactory::iUid, CUPnPControlConnectionProviderFactory::NewL),
       
    38     IMPLEMENTATION_PROXY_ENTRY(CUPnPControlSubConnectionProviderFactory::iUid, CUPnPControlSubConnectionProviderFactory::NewL),
       
    39 	IMPLEMENTATION_PROXY_ENTRY(CUPnPServiceConnectionProviderFactory::iUid, CUPnPServiceConnectionProviderFactory::NewL),
       
    40     IMPLEMENTATION_PROXY_ENTRY(CUPnPServiceSubConnectionProviderFactory::iUid, CUPnPServiceSubConnectionProviderFactory::NewL),
       
    41     IMPLEMENTATION_PROXY_ENTRY(CUPnPFlowFactory::iUid, CUPnPFlowFactory::NewL),    
       
    42 	IMPLEMENTATION_PROXY_ENTRY( CApplicationProtocolIntfFactory::iUid, CApplicationProtocolIntfFactory::NewL )
       
    43     };
       
    44 
       
    45 
       
    46 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount)
       
    47     {
       
    48     aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy);
       
    49     return ImplementationTable;
       
    50     }