zeroconf/client/src/ecom_impl.cpp
changeset 14 da856f45b798
equal deleted inserted replaced
12:78fbd574edf4 14:da856f45b798
       
     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_impl.cpp
       
    15 // 
       
    16 //
       
    17 
       
    18 #include <ecom/implementationproxy.h>
       
    19 #include "mdnsparamsextfactory.h"
       
    20 #include "mdnsparamset.h"
       
    21 #include "cmdnsservicediscoveryimpl.h"
       
    22 #include "cmdnspnpservicepublisherimpl.h"
       
    23 
       
    24   
       
    25 const TImplementationProxy ImplementationTable[] =
       
    26 	{
       
    27 	IMPLEMENTATION_PROXY_ENTRY(KMDnsParamsFactoryUid, CMDnsParamsExtFactory::NewL),
       
    28 	IMPLEMENTATION_PROXY_ENTRY(KUPnPDiscoveryUid, CMDnsServiceDiscoveryImpl::NewL),
       
    29 	IMPLEMENTATION_PROXY_ENTRY(KMDnsPublisherUid, CMDnsServicePublisherImpl::NewL)
       
    30 	};
       
    31 
       
    32 
       
    33 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount)
       
    34     {
       
    35     aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy);
       
    36     return ImplementationTable;
       
    37     }