mpxplugins/serviceplugins/collectionplugins/mpxinmemoryplugin/src/mpxinmemorypluginproxy.cpp
changeset 0 ff3acec5bc43
equal deleted inserted replaced
-1:000000000000 0:ff3acec5bc43
       
     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 <implementationproxy.h>
       
    20 #include "mpxinmemoryplugin.h"
       
    21 #include "mpxmusicmemoryplugin.h"
       
    22 
       
    23 #if (!defined IMPLEMENTATION_PROXY_ENTRY)
       
    24 typedef TAny* TProxyNewLPtr;
       
    25 #define IMPLEMENTATION_PROXY_ENTRY(aUid,aFuncPtr) 
       
    26                                         {{aUid},(TProxyNewLPtr)(aFuncPtr)}
       
    27 #endif
       
    28 
       
    29 // ----------------------------------------------------------------------------
       
    30 // The list of implementations
       
    31 // ----------------------------------------------------------------------------
       
    32 //
       
    33 const TImplementationProxy ImplementationTable[] = 
       
    34     { IMPLEMENTATION_PROXY_ENTRY(0x101FFCD8, CMPXInMemoryPlugin::NewL),
       
    35       IMPLEMENTATION_PROXY_ENTRY(0x10282960, CMPXMusicMemoryPlugin::NewL) };
       
    36 
       
    37 // ----------------------------------------------------------------------------
       
    38 // The proxy of implementations
       
    39 // ----------------------------------------------------------------------------
       
    40 //
       
    41 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(
       
    42     TInt& aTableCount)
       
    43     {
       
    44     aTableCount=sizeof(ImplementationTable)/sizeof(TImplementationProxy);
       
    45     return ImplementationTable;
       
    46     }
       
    47 
       
    48 // End of File