|
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: Standard proxy of the ECOM plugin |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // INCLUDE FILES |
|
20 #include <ecom/implementationproxy.h> |
|
21 #include "mpxupnpbrowsedialogplugin.hrh" |
|
22 #include "mpxupnpbrowsedialogplugin.h" |
|
23 |
|
24 #if ( !defined IMPLEMENTATION_PROXY_ENTRY ) |
|
25 typedef TAny* TProxyNewLPtr; |
|
26 #define IMPLEMENTATION_PROXY_ENTRY( aUid,aFuncPtr ) { { aUid }, ( TProxyNewLPtr )( aFuncPtr ) } |
|
27 #endif |
|
28 |
|
29 |
|
30 // ======== MEMBER FUNCTIONS ======== |
|
31 |
|
32 // --------------------------------------------------------------------------- |
|
33 // The list of implementations |
|
34 // --------------------------------------------------------------------------- |
|
35 // |
|
36 const TImplementationProxy ImplementationTable[] = |
|
37 { |
|
38 IMPLEMENTATION_PROXY_ENTRY( |
|
39 KMPXUPnPBrowseDialogImplementationId, |
|
40 CMPXUPnPBrowseDialogPlugin::NewL ) |
|
41 }; |
|
42 |
|
43 // --------------------------------------------------------------------------- |
|
44 // The proxy of implementations |
|
45 // --------------------------------------------------------------------------- |
|
46 // |
|
47 EXPORT_C const TImplementationProxy* ImplementationGroupProxy( |
|
48 TInt& aTableCount ) |
|
49 { |
|
50 aTableCount = |
|
51 sizeof( ImplementationTable ) / sizeof( TImplementationProxy ); |
|
52 return ImplementationTable; |
|
53 } |
|
54 |
|
55 // End of File |