upnpframework/upnpaiwprovider/src/upnpaiwprovider.cpp
branchIOP_Improvements
changeset 40 08b5eae9f9ff
parent 39 6369bfd1b60d
child 41 b4d83ea1d6e2
equal deleted inserted replaced
39:6369bfd1b60d 40:08b5eae9f9ff
     1 /*
       
     2 * Copyright (c) 2005-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:  Implementation of the UpnpAiwProvider.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include <ecom/implementationproxy.h>
       
    20 #include "upnpaiwprovideruids.hrh"
       
    21 #include "upnpaiwenableexternalservice.h"
       
    22 #include "upnpaiwcopytoexternalservice.h"
       
    23 #include "upnpaiwmovetoexternalservice.h"
       
    24 #include "upnpaiwplayonexternalbaseservice.h"
       
    25 #include "upnpaiwplayonexternalmenuservice.h"
       
    26 #include "upnpaiwopenexternalservice.h"
       
    27 
       
    28 // Map the interface UIDs to implementation factory functions
       
    29 const TImplementationProxy ImplementationTable[] =
       
    30     {
       
    31     IMPLEMENTATION_PROXY_ENTRY(KUPnPAiwEnableExternalMenuServiceUid,
       
    32                                CUPnPAiwEnableExternalService::NewL),
       
    33     IMPLEMENTATION_PROXY_ENTRY(KUPnPAiwCopyToExternalMenuServiceUid,
       
    34                                CUPnPAiwCopyToExternalService::NewL),
       
    35     IMPLEMENTATION_PROXY_ENTRY(KUPnPAiwMoveToExternalMenuServiceUid,
       
    36                                CUPnPAiwMoveToExternalService::NewL),
       
    37     IMPLEMENTATION_PROXY_ENTRY(KUPnPAiwPlayOnExternalMenuServiceUid,
       
    38                                CUPnPAiwPlayOnExternalMenuService::NewL),
       
    39     IMPLEMENTATION_PROXY_ENTRY(KUPnPAiwPlayOnExternalBaseServiceUid,
       
    40                                CUPnPAiwPlayOnExternalBaseService::NewL),
       
    41     IMPLEMENTATION_PROXY_ENTRY(KUPnPAiwOpenExternalBaseServiceUid,
       
    42                                CUPnPAiwOpenExternalService::NewL)
       
    43     };
       
    44 
       
    45 // --------------------------------------------------------------------------
       
    46 // Exported proxy for instantiation method resolution
       
    47 // --------------------------------------------------------------------------
       
    48 //
       
    49 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(
       
    50                                         TInt& aTableCount )
       
    51     {
       
    52     aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy);
       
    53     return ImplementationTable;
       
    54     }
       
    55 
       
    56 // End of file