javamanager/javasettings/appmngrplugin/src/appmngr2midletmain.cpp
branchRCL_3
changeset 19 04becd199f91
equal deleted inserted replaced
16:f5050f1da672 19:04becd199f91
       
     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 <ecom/implementationproxy.h>   // TImplementationProxy
       
    20 #include "appmngr2midletruntime.h"      // CAppMngr2MidletRuntime
       
    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(KAppMngr2MidletUidValue, CAppMngr2MidletRuntime::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