phonebookui/Phonebook2/USIMExtension/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:  Standard Symbian OS DLL entry point function.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // Phonebook 2
       
    20 #include "CPsu2UIExtensionPlugin.h"
       
    21 #include "CPsu2ContactCopyPolicy.h"
       
    22 #include "Pbk2USIMUIUID.h"
       
    23 
       
    24 // System includes
       
    25 #include <ecom/implementationproxy.h>
       
    26 
       
    27 /// Implementation table
       
    28 const TImplementationProxy ImplementationTable[] =
       
    29     {
       
    30     IMPLEMENTATION_PROXY_ENTRY( KPbk2USIMExtensionImplementationUID,
       
    31         CPsu2UIExtensionPlugin::NewL ),
       
    32     IMPLEMENTATION_PROXY_ENTRY( KPbk2SimCopyPolicyImplementationUID,
       
    33         CPsu2ContactCopyPolicy::NewL )
       
    34     };
       
    35 
       
    36 // --------------------------------------------------------------------------
       
    37 // ImplementationGroupProxy
       
    38 // The one and only exported function that is the ECom entry point.
       
    39 // --------------------------------------------------------------------------
       
    40 //
       
    41 EXPORT_C const TImplementationProxy* ImplementationGroupProxy
       
    42         (TInt& aTableCount)
       
    43     {
       
    44     aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy);
       
    45 
       
    46     return ImplementationTable;
       
    47     }
       
    48 
       
    49 // End of File
       
    50 
       
    51