commsfwsupport/commselements/testing/dummynodes/src/ecomimpl.cpp
changeset 0 dfb7c4ff071f
equal deleted inserted replaced
-1:000000000000 0:dfb7c4ff071f
       
     1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 #include <ecom/implementationproxy.h>
       
    17 #include <ecom/ecom.h>
       
    18 
       
    19 #include "Node1Factory.h"
       
    20 #include "Node2Factory.h"
       
    21 
       
    22 //
       
    23 // ECOM Implementation
       
    24 //
       
    25 
       
    26 const TImplementationProxy ImplementationTable[] =
       
    27 	{   
       
    28 	IMPLEMENTATION_PROXY_ENTRY(CNode1Factory::EUid, CNode1Factory::NewL),
       
    29 	IMPLEMENTATION_PROXY_ENTRY(CNode2Factory::EUid, CNode2Factory::NewL),   
       
    30 	};
       
    31 
       
    32 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount)
       
    33 	{
       
    34 	aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy);
       
    35 	return ImplementationTable;
       
    36 	}
       
    37 
       
    38