IMPSengine/ImpsIpCirWatcher/src/CirWatcherMain.cpp
changeset 0 094583676ce7
equal deleted inserted replaced
-1:000000000000 0:094583676ce7
       
     1 /*
       
     2 * Copyright (c) 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: Proxy file for CirWatcher
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 // INCLUDE FILES
       
    21 #include <ecom/ImplementationProxy.h>
       
    22 #include "TcpCirWatcher.h"
       
    23 #include "UdpCirWatcher.h"
       
    24 
       
    25 // CONSTANTS
       
    26 // Map the interface UIDs to implementation factory functions
       
    27 const TImplementationProxy ImplementationTable[] =
       
    28     {
       
    29 #ifdef __EABI__
       
    30     IMPLEMENTATION_PROXY_ENTRY( 0x101FB0EB,	CTcpCirWatcher::NewL ),
       
    31     IMPLEMENTATION_PROXY_ENTRY( 0x101FB0EC,	CUdpCirWatcher::NewL )
       
    32 #else
       
    33         { { 0x101FB0EB }, CTcpCirWatcher::NewL },
       
    34         { { 0x101FB0EC }, CUdpCirWatcher::NewL }
       
    35 #endif
       
    36     };
       
    37 
       
    38 
       
    39 // ----------------------------------------------------
       
    40 // CTcpCirWatcher::~CTcpCirWatcher
       
    41 // Destructor
       
    42 // ----------------------------------------------------
       
    43 //
       
    44 EXPORT_C const TImplementationProxy* ImplementationGroupProxy( TInt& aTableCount )
       
    45     {
       
    46     aTableCount = sizeof( ImplementationTable ) / sizeof( TImplementationProxy );
       
    47     return ImplementationTable;
       
    48     }
       
    49 //  End of File