phoneuis/ConnectUtil/src/CoUtlMain.cpp
branchRCL_3
changeset 62 5266b1f337bd
equal deleted inserted replaced
61:41a7f70b3818 62:5266b1f337bd
       
     1 /*
       
     2 * Copyright (c) 2003 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 Connection utility.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 // INCLUDE FILES
       
    21 #include    <ecom.h>
       
    22 #include    <implementationproxy.h>
       
    23 #include    <coutlinterface.hrh>
       
    24 #include    "CCoUtlImplementation.h"
       
    25 
       
    26 // CONSTANTS
       
    27 
       
    28 // Holds implementation table.
       
    29 const TImplementationProxy KCoUtlImplementationTable[] =
       
    30     {
       
    31         IMPLEMENTATION_PROXY_ENTRY(
       
    32              KCoUtlImplementationUid, 
       
    33             CCoUtlImplementation::NewL )
       
    34     };
       
    35 
       
    36 // ========================== OTHER EXPORTED FUNCTIONS =========================
       
    37 
       
    38 // -----------------------------------------------------------------------------
       
    39 // ImplementationGroupProxy
       
    40 // Returns implementation table and updates aTableCount parameter to hold
       
    41 // amount of elements in table.
       
    42 // -----------------------------------------------------------------------------
       
    43 //
       
    44 EXPORT_C const TImplementationProxy* ImplementationGroupProxy( TInt& aTableCount )
       
    45     {
       
    46     aTableCount = 
       
    47         sizeof( KCoUtlImplementationTable ) / 
       
    48         sizeof( TImplementationProxy );
       
    49 
       
    50     return KCoUtlImplementationTable;
       
    51     }
       
    52 
       
    53 //  End of File