emailservices/emailclientapi/src/implproxy.cpp
changeset 47 f83bd4ae1fe3
equal deleted inserted replaced
45:780f926bc26c 47:f83bd4ae1fe3
       
     1 /*
       
     2 * Copyright (c) 2010 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:  ECom impementation proxy for Email client API
       
    15 *
       
    16 */
       
    17 
       
    18 #include "emailclientapiimpl.hrh"
       
    19 #include "emailclientapiimpl.h"
       
    20 #include "emailinterfacefactoryimpl.h"
       
    21 #include <implementationproxy.h>	//TImplementationProxy
       
    22 
       
    23 // -----------------------------------------------------------------------------
       
    24 // Defines the pairing required by the ECOM framework to correctly identify the
       
    25 // instantiation method pointer for client's request.
       
    26 // -----------------------------------------------------------------------------
       
    27 const TImplementationProxy ImplementationTable[] =
       
    28     {
       
    29     IMPLEMENTATION_PROXY_ENTRY(
       
    30             KEmailClientApiImplUid,
       
    31             CEmailInterfaceFactoryImpl::NewL )
       
    32     };
       
    33 
       
    34 // -----------------------------------------------------------------------------
       
    35 // Returns the TImplementationProxy for email client api implementation
       
    36 // -----------------------------------------------------------------------------
       
    37 EXPORT_C const TImplementationProxy* ImplementationGroupProxy( TInt& aTableCount )
       
    38     {
       
    39     aTableCount = sizeof( ImplementationTable ) / sizeof( TImplementationProxy );
       
    40 
       
    41     return ImplementationTable;
       
    42     }
       
    43 
       
    44 // End of file