phonebookui/Phonebook2/UIServices/src/Dllmain.cpp
changeset 0 e686773b3f54
equal deleted inserted replaced
-1:000000000000 0:e686773b3f54
       
     1 /*
       
     2 * Copyright (c) 2005-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:  Phonebook 2 UI Services DLL main.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // Phonebook 2
       
    20 #include "CPbk2AiwAssignProvider.h"
       
    21 #include "CPbk2AiwSelectionProvider.h"
       
    22 #include <Pbk2InternalUID.h>
       
    23 
       
    24 // System includes
       
    25 #include <e32std.h>
       
    26 #include <ecom/implementationproxy.h>
       
    27 
       
    28 // --------------------------------------------------------------------------
       
    29 // ImplementationTable
       
    30 // Define the interface UIDs
       
    31 // --------------------------------------------------------------------------
       
    32 //
       
    33 const TImplementationProxy ImplementationTable[] =
       
    34     {
       
    35     IMPLEMENTATION_PROXY_ENTRY( KPbk2AiwCmdSelectImplementationUID,
       
    36         CPbk2AiwSelectionProvider::NewL ),
       
    37     IMPLEMENTATION_PROXY_ENTRY( KPbk2AiwCmdAssignImplementationUID,
       
    38         CPbk2AiwAssignProvider::NewL )
       
    39     };
       
    40 
       
    41 // --------------------------------------------------------------------------
       
    42 // ImplementationGroupProxy
       
    43 // The one and only exported function that is the ECom entry point
       
    44 // --------------------------------------------------------------------------
       
    45 //
       
    46 EXPORT_C const TImplementationProxy* ImplementationGroupProxy
       
    47         ( TInt& aTableCount )
       
    48     {
       
    49     aTableCount =
       
    50         sizeof( ImplementationTable ) / sizeof( TImplementationProxy );
       
    51     return ImplementationTable;
       
    52     }
       
    53 
       
    54 // End of File