mmsharing/mmshavailability/src/musavaproxy.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:   Plug-in entry point
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 // INCLUDE FILES
       
    21 #include "musunittesting.h"
       
    22 
       
    23 #include "musavadefaultimp.h"
       
    24 #include "musavailabilityplugin.hrh"
       
    25 
       
    26 
       
    27 // SYSTEM
       
    28 #include <e32base.h>
       
    29 #include <e32std.h>
       
    30 #include <ecom/implementationproxy.h>
       
    31 
       
    32 // Disabled PC-Lint warning for "suspicious typecast" caused by Symbian's
       
    33 // ECom declarations
       
    34 /*lint -e611 */
       
    35 
       
    36 // ------------------------------------------------------------------------------
       
    37 // Exported proxy for instantiation method resolution.  Use the interface
       
    38 // UID (same as the DLL UID) and the implementation factory function as a
       
    39 // pair for ECom instantiation.
       
    40 // ------------------------------------------------------------------------------
       
    41 // 
       
    42 const TImplementationProxy ImplementationTable[] = 
       
    43     {
       
    44     IMPLEMENTATION_PROXY_ENTRY(
       
    45     KAvailabilityPluginImplementationUid, CMusAvaDefaultImp::NewL )
       
    46     };
       
    47 
       
    48 
       
    49 // ------------------------------------------------------------------------------
       
    50 // Give the table to the caller.
       
    51 // ------------------------------------------------------------------------------
       
    52 // .
       
    53 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount)
       
    54 	{
       
    55 	aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy);
       
    56 	return ImplementationTable;
       
    57 	}
       
    58