pushmtm/plugins/PushContentHandler/PushContentHandlerGroupProxy.cpp
branchRCL_3
changeset 69 4455192101e4
equal deleted inserted replaced
65:8e6fa1719340 69:4455192101e4
       
     1 /*
       
     2 * Copyright (c) 2002 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 the License "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:  Proxy definition.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 // INCLUDE FILES
       
    21 
       
    22 #include "PushContentHandlerDef.hrh"
       
    23 #include "CUnknownContentHandler.h"
       
    24 #include "CSIContentHandler.h"
       
    25 #include "CSLContentHandler.h"
       
    26 #include "CCOContentHandler.h"
       
    27 #include "CMultiPartMixedContentHandler.h"
       
    28 #include "CMultiPartRelAndAltContentHandler.h"
       
    29 #include <e32std.h>
       
    30 #include <ecom/implementationproxy.h>
       
    31 
       
    32 
       
    33 const TImplementationProxy ImplementationTable[] = 
       
    34 	{
       
    35         IMPLEMENTATION_PROXY_ENTRY( EUidPushUnknownContentHandler, CUnknownContentHandler::NewL ),
       
    36         IMPLEMENTATION_PROXY_ENTRY( EUidPushSIContentHandler, CSIContentHandler::NewL ),
       
    37         IMPLEMENTATION_PROXY_ENTRY( EUidPushSLContentHandler, CSLContentHandler::NewL ),
       
    38         IMPLEMENTATION_PROXY_ENTRY( EUidPushCOContentHandler, CCOContentHandler::NewL ),
       
    39         IMPLEMENTATION_PROXY_ENTRY( EUidPushMultiPartMixedContentHandler, CMultiPartMixedContentHandler::NewL ),
       
    40         IMPLEMENTATION_PROXY_ENTRY( EUidPushMultiPartRelAndAltContentHandler, CMultiPartRelAndAltContentHandler::NewL )
       
    41 	};
       
    42 
       
    43 EXPORT_C const TImplementationProxy* ImplementationGroupProxy( TInt& aTableCount )
       
    44 	{
       
    45 	aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy);
       
    46 
       
    47 	return ImplementationTable;
       
    48 	}
       
    49