appinstaller/AppMngr2/Widget/src/appmngr2widgetmain.cpp
changeset 80 9dcba1ee99f7
parent 77 d1838696558c
equal deleted inserted replaced
77:d1838696558c 80:9dcba1ee99f7
     1 /*
       
     2 * Copyright (c) 2008 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 implementation
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include "appmngr2widgetruntime.h"      // CAppMngr2WidgetRuntime
       
    20 #include <ecom/implementationproxy.h>   // TImplementationProxy
       
    21 
       
    22 
       
    23 // ---------------------------------------------------------------------------
       
    24 // Array that maps the ECom implementation UIDs to factory functions
       
    25 // ---------------------------------------------------------------------------
       
    26 //
       
    27 const TImplementationProxy ImplementationTable[] =
       
    28     {
       
    29     IMPLEMENTATION_PROXY_ENTRY( KAppMngr2WidgetUidValue, CAppMngr2WidgetRuntime::NewL )
       
    30     };
       
    31 
       
    32 // ---------------------------------------------------------------------------
       
    33 // ImplementationGroupProxy()
       
    34 // Exported proxy for instantiation method resolution
       
    35 // ---------------------------------------------------------------------------
       
    36 //
       
    37 EXPORT_C const TImplementationProxy* ImplementationGroupProxy( TInt& aTableCount )
       
    38     {
       
    39     aTableCount = sizeof( ImplementationTable ) / sizeof( TImplementationProxy );
       
    40     return ImplementationTable;
       
    41     }
       
    42