mmshplugins/mmshsipcrplugin/src/mussipcrpluginmain.cpp
changeset 0 f0cf47e981f9
equal deleted inserted replaced
-1:000000000000 0:f0cf47e981f9
       
     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 #include "musunittesting.h"
       
    20 #include "mussipcrplugin.h"
       
    21 #include "mussipcrplugin.hrh"
       
    22 #include "muscommon.h"
       
    23 #include "muslogger.h"
       
    24 
       
    25 #include <ecom/ecom.h>
       
    26 #include <ecom/implementationproxy.h>
       
    27 
       
    28 /**
       
    29  * Holds the implementation table.
       
    30  */
       
    31 const TImplementationProxy KMusSipCrPluginImplementationTable[] =
       
    32     {
       
    33 // disable PC-Lint warning for "suspicious typecast", caused by
       
    34 // Symbian's ECom declarations, by "lint -e611"
       
    35     IMPLEMENTATION_PROXY_ENTRY( KMusSipCrPluginImplementationUid, //lint -e611
       
    36                                 CMusSipCrPlugin::NewL )
       
    37     };
       
    38 
       
    39 /**
       
    40  * Returns the implementation table and updates the aTableCount parameter
       
    41  * to hold the number of elements in the table.
       
    42  */
       
    43 EXPORT_C const TImplementationProxy* ImplementationGroupProxy( TInt& aTableCount )
       
    44     {
       
    45     MUS_LOG( "mus: [MUSSCR]  -> TImplementationProxy* ImplementationGroupProxy" );
       
    46     aTableCount = sizeof( KMusSipCrPluginImplementationTable ) /
       
    47                   sizeof( TImplementationProxy );
       
    48     MUS_LOG( "mus: [MUSSCR]  <- TImplementationProxy* ImplementationGroupProxy" );
       
    49     return KMusSipCrPluginImplementationTable;
       
    50     }