appinstaller/AppMngr2/SWInstAdapter/src/swinstadaptermain.cpp
changeset 80 9dcba1ee99f7
parent 77 d1838696558c
equal deleted inserted replaced
77:d1838696558c 80:9dcba1ee99f7
     1 /*
       
     2 * Copyright (c) 2002-2007 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:   ECom interface implementation
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include "cswinstadapter.h"             // CSWInstAdapter
       
    20 #include "swinstadapteruids.hrh"        // KSWInstAdapterImplUid
       
    21 #include <ecom/implementationproxy.h>   // TImplementationProxy
       
    22 
       
    23 // ----------------------------------------------------------------------------
       
    24 // ImplementationTable
       
    25 // Ecom plug-in implementation table
       
    26 // ----------------------------------------------------------------------------
       
    27 //
       
    28 const TImplementationProxy ImplementationTable[] = 
       
    29     {
       
    30 #ifdef __EABI__ 
       
    31 	IMPLEMENTATION_PROXY_ENTRY( KSWInstAdapterImplUid, CSWInstAdapter::NewL )
       
    32 #else   // __EABI__
       
    33      { { KSWInstAdapterImplUid }, CSWInstAdapter::NewL }
       
    34 #endif  // __EABI__
       
    35     };
       
    36 
       
    37 // ----------------------------------------------------------------------------
       
    38 // ImplementationGroupProxy
       
    39 // Instance of implementation proxy
       
    40 // ----------------------------------------------------------------------------
       
    41 //
       
    42 EXPORT_C const TImplementationProxy* ImplementationGroupProxy( TInt& aTableCount )
       
    43     {
       
    44     aTableCount = sizeof( ImplementationTable ) / sizeof( TImplementationProxy );
       
    45 
       
    46     return ImplementationTable;
       
    47     }
       
    48 
       
    49 // End Of File