sdkcreationmw/sdkruntimes/new_wsock_3pc/src/ecom_impl.cpp
changeset 2 82fb8aa91b2c
equal deleted inserted replaced
1:ac50fd48361b 2:82fb8aa91b2c
       
     1 // Copyright (c) 2006-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 the License "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 Winsock Provider Factories
       
    15 // 
       
    16 //
       
    17 
       
    18 /**
       
    19  @file
       
    20  @internalComponent
       
    21 */
       
    22 
       
    23 
       
    24 #include <ecom/implementationproxy.h>
       
    25 #include <ecom/ecom.h>
       
    26 
       
    27 //#include "winsockcprfactory.h"
       
    28 //#include "winsockscprfactory.h"
       
    29 //#include "winsocktiermanagerfactory.h"
       
    30 
       
    31 #include "winsockflowfactory.h"
       
    32 #include "winsockmcprfactory.h"
       
    33 #include "../inc/winsockuid.h"
       
    34 
       
    35 
       
    36 //#include "tunnelagentcprfactory.h"
       
    37 // ---------------- ECOM Implementation ----------------
       
    38 
       
    39 const TImplementationProxy ImplementationTable[] =
       
    40     {
       
    41    IMPLEMENTATION_PROXY_ENTRY(KWinsockFlowUid, CWinsockFlowFactory::NewL),
       
    42    IMPLEMENTATION_PROXY_ENTRY(KWinsockMcprUid, CWinsockMetaConnectionProviderFactory::NewL)
       
    43     };
       
    44 
       
    45 
       
    46 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount)
       
    47     {
       
    48     aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy);
       
    49     return ImplementationTable;
       
    50     }
       
    51 
       
    52