XDMEngine/XdmDeviceManagement/src/xdmdmadaptergroupproxy.cpp
changeset 0 c8caa15ef882
equal deleted inserted replaced
-1:000000000000 0:c8caa15ef882
       
     1 /*
       
     2 * Copyright (c) 2006 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:    Table of plugins for ECom
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 // INCLUDE FILES
       
    23 #include <implementationproxy.h>
       
    24 
       
    25 #include "xdmdmadapter.h"
       
    26 #include "xdmdmuid.h"
       
    27 
       
    28 
       
    29 // -----------------------------------------------------------------------------
       
    30 // TImplementationProxy ImplementationTable[]
       
    31 // Needed because of ECOM architecture
       
    32 // -----------------------------------------------------------------------------
       
    33 const TImplementationProxy ImplementationTable[] = 
       
    34     {
       
    35 #ifdef __EABI__    
       
    36     IMPLEMENTATION_PROXY_ENTRY( KXdmDmImplUid, CXdmDMAdapter::NewL )
       
    37 #else
       
    38     { { KXdmDmImplUid }, CXdmDMAdapter::NewL },
       
    39 #endif
       
    40     };
       
    41 
       
    42 // -----------------------------------------------------------------------------
       
    43 // ImplementationGroupProxy()
       
    44 // Needed because of ECOM architecture
       
    45 // -----------------------------------------------------------------------------
       
    46 EXPORT_C const TImplementationProxy* ImplementationGroupProxy( TInt& 
       
    47                                                                aTableCount )
       
    48     {
       
    49     aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy);
       
    50 #ifdef _DEBUG
       
    51     CXdmDMAdapter::WriteToLog(_L8( "CXdmDMAdapter:ImplementationGroupProxy") );
       
    52 #endif
       
    53     return ImplementationTable;
       
    54     }