contentctrl_plat/ds_contact_adapter_customization_api/tsrc/DummyAdapter/src/nsmldummydllmain.cpp
branchRCL_3
changeset 24 8e7494275d3a
equal deleted inserted replaced
23:2bb96f4ecad8 24:8e7494275d3a
       
     1 /*
       
     2 * Copyright (c) 2009 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:  DS Dummy adapter entry point
       
    15 *
       
    16 */
       
    17 
       
    18 #include <ImplementationProxy.h>
       
    19 #include "nsmldebug.h"
       
    20 #include "nsmlDummydataprovider.h"
       
    21 
       
    22 // -----------------------------------------------------------------------------
       
    23 // ImplementationGroupProxy array
       
    24 // -----------------------------------------------------------------------------
       
    25 //
       
    26 #ifndef IMPLEMENTATION_PROXY_ENTRY
       
    27 #define IMPLEMENTATION_PROXY_ENTRY( aUid, aFuncPtr ) {{aUid},(aFuncPtr)}
       
    28 #endif
       
    29 
       
    30 const TImplementationProxy ImplementationTable[] =
       
    31     {
       
    32     IMPLEMENTATION_PROXY_ENTRY( KNSmlDummyAdapterImplUid, CNSmlDummyDataProvider::NewL )
       
    33     };
       
    34 
       
    35 // -----------------------------------------------------------------------------
       
    36 // ImplementationGroupProxy
       
    37 // -----------------------------------------------------------------------------
       
    38 //
       
    39 EXPORT_C const TImplementationProxy* ImplementationGroupProxy( TInt& aTableCount )
       
    40     {
       
    41     _DBG_FILE("ImplementationGroupProxy() for CNSmlDummyDataProvider: begin");
       
    42 
       
    43     aTableCount = sizeof( ImplementationTable ) / sizeof( TImplementationProxy );
       
    44 
       
    45     _DBG_FILE("ImplementationGroupProxy() for CNSmlDummyDataProvider: end");
       
    46     return ImplementationTable;
       
    47     }