bluetoothengine/btui/Ecom/src/BtuiPluginImplementationTable.cpp
branchRCL_3
changeset 23 9386f31cc85b
parent 0 f63038272f30
equal deleted inserted replaced
22:613943a21004 23:9386f31cc85b
       
     1 /*
       
     2 * Copyright (c) 2002-2007 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 proxy table for this plugin
       
    15 *
       
    16 */
       
    17 
       
    18 #include <e32std.h>
       
    19 #include <implementationproxy.h>
       
    20 
       
    21 #include "BTUIMainView.h"
       
    22 #include "BTUIPairedDevicesView.h"
       
    23 #include "BTUIBlockedDevicesView.h"
       
    24 
       
    25 
       
    26 const TImplementationProxy KBtuiPluginImplementationTable[] = 
       
    27 	{
       
    28 	// UPDATE THIS - Uid for plugin implementation:
       
    29 	//This impl is for GS FW, in this case mainView will construct BTUI Model.
       
    30 	IMPLEMENTATION_PROXY_ENTRY( 0x1020742C,	CBTUIMainView::NewGsPluginL ), 	
       
    31 
       
    32 	//Following two are for BTUI App, in this case mainView won't construct BTUI Model, 
       
    33 	//BTUI's AppUi will do it and pass the pointer of Model to both views.
       
    34 	IMPLEMENTATION_PROXY_ENTRY( 0x1020745C,	CBTUIMainView::NewL ),
       
    35 	IMPLEMENTATION_PROXY_ENTRY( 0x1020745D,	CBTUIPairedDevicesView::NewL ),
       
    36 	IMPLEMENTATION_PROXY_ENTRY( 0x20002780,	CBTUIBlockedDevicesView::NewL )
       
    37 	};
       
    38 
       
    39 // ---------------------------------------------------------------------------
       
    40 // ImplementationGroupProxy
       
    41 // Gate/factory function
       
    42 // ---------------------------------------------------------------------------
       
    43 //
       
    44 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount)
       
    45 	{
       
    46 	aTableCount = sizeof(KBtuiPluginImplementationTable) 
       
    47         / sizeof(TImplementationProxy);
       
    48 	return KBtuiPluginImplementationTable;
       
    49 	}