mmshplugins/mmshwpadapterplugin/src/muswpadaptergroupproxy.cpp
changeset 0 f0cf47e981f9
equal deleted inserted replaced
-1:000000000000 0:f0cf47e981f9
       
     1 /*
       
     2 * Copyright (c) 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:  project specification
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include "muswpadapteruids.h"
       
    20 #include "muswpadapter.h"
       
    21 
       
    22 #include <ecom/implementationproxy.h>
       
    23 
       
    24 
       
    25 // --------------------------------------------------------------------------
       
    26 // Exported proxy for instantiation method resolution.  Use the interface
       
    27 // UID (same as the DLL UID) and the implementation factory function as a
       
    28 // pair for ECom instantiation.
       
    29 // --------------------------------------------------------------------------
       
    30 //
       
    31 const TImplementationProxy ImplementationTable[] =
       
    32     {
       
    33     IMPLEMENTATION_PROXY_ENTRY( KMUSWPADAPTERDLLUID3, 
       
    34                                 CMusWpAdapter::NewL )
       
    35     };
       
    36 
       
    37 
       
    38 // --------------------------------------------------------------------------
       
    39 // Implementation factory function.
       
    40 // Returns: TImplementationProxy*: pointer to TImplementationProxy
       
    41 // --------------------------------------------------------------------------
       
    42 //
       
    43 EXPORT_C const TImplementationProxy* ImplementationGroupProxy( 
       
    44                                                     TInt& aTableCount )
       
    45     {
       
    46     aTableCount = sizeof( ImplementationTable ) / 
       
    47                   sizeof( TImplementationProxy );
       
    48     return ImplementationTable;
       
    49     }