phoneclientserver/callui/src/cauiplugin/cauimain.cpp
changeset 51 12bc758d6a02
parent 48 78df25012fda
child 53 25b8d29b7c59
equal deleted inserted replaced
48:78df25012fda 51:12bc758d6a02
     1 /*
       
     2 * Copyright (c) 2004 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:  Global functions for CaUiPlugin.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 // INCLUDE FILES
       
    21 #include    <ecom.h>
       
    22 #include    <implementationproxy.h>
       
    23 #include    "caui.hrh" 
       
    24 #include    "cauiplugin.h" 
       
    25 
       
    26 
       
    27 // CONSTANTS
       
    28 
       
    29 // Holds implementation table.
       
    30 const TImplementationProxy KCallUIImplementationTable[] =
       
    31     {
       
    32     IMPLEMENTATION_PROXY_ENTRY( 
       
    33         KCallUIImplementationUid, 
       
    34         CCaUiPlugin::NewL ),
       
    35     IMPLEMENTATION_PROXY_ENTRY( 
       
    36         KCallUIImplementationUid2, 
       
    37         CCaUiPlugin::NewL )        
       
    38     };
       
    39 
       
    40 
       
    41 // ========================== OTHER EXPORTED FUNCTIONS =========================
       
    42 
       
    43 // -----------------------------------------------------------------------------
       
    44 // ImplementationGroupProxy
       
    45 // 
       
    46 // Returns implementation table and updates aTableCount parameter to hold
       
    47 // amount of elements in table.
       
    48 // -----------------------------------------------------------------------------
       
    49 //
       
    50 EXPORT_C const TImplementationProxy* ImplementationGroupProxy( 
       
    51     TInt& aTableCount )
       
    52     {
       
    53     aTableCount = 
       
    54         sizeof( KCallUIImplementationTable ) / 
       
    55         sizeof( TImplementationProxy );
       
    56 
       
    57     return KCallUIImplementationTable;
       
    58     }
       
    59 
       
    60 //  End of File