mmshplugins/mmshaiwplugin/src/musaiwprovidermain.cpp
changeset 22 496ad160a278
parent 0 f0cf47e981f9
equal deleted inserted replaced
15:ccd8e69b5392 22:496ad160a278
       
     1 /*
       
     2 * Copyright (c) 2005-2006 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.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #include "musaiwprovider.h"
       
    21 #include "musaiwprovider.hrh"
       
    22 
       
    23 #include <ecom/ecom.h>
       
    24 #include <ecom/implementationproxy.h>
       
    25 
       
    26 
       
    27 /**
       
    28  * Holds the implementation table.
       
    29  */
       
    30 const TImplementationProxy KMusAiwProviderImplementationTable[] =
       
    31     {
       
    32 // disable PC-Lint warning for "suspicious typecast", caused by
       
    33 // Symbian's ECom declarations, by "lint -e611"
       
    34     IMPLEMENTATION_PROXY_ENTRY( KMusAiwProviderUid, //lint -e611
       
    35                                 CMusAiwProvider::NewL )
       
    36     };
       
    37 
       
    38 /**
       
    39  * Returns the implementation table and updates the aTableCount parameter
       
    40  * to hold the number of elements in the table.
       
    41  */
       
    42 EXPORT_C const TImplementationProxy* ImplementationGroupProxy( TInt& aTableCount )
       
    43     {
       
    44     aTableCount = sizeof( KMusAiwProviderImplementationTable ) /
       
    45                   sizeof( TImplementationProxy );
       
    46     return KMusAiwProviderImplementationTable;
       
    47     }