mmappfw_plat/mpx_playback_utility_api/tsrc/testvideoplaybackplugin/src/testvideoplaybackpluginproxy.cpp
branchRCL_3
changeset 63 91d5ad76f5c6
equal deleted inserted replaced
59:666f9a5a90a9 63:91d5ad76f5c6
       
     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:  Standard proxy of the ECOM plugin
       
    15 *
       
    16 */
       
    17 
       
    18 #include <ecom/implementationproxy.h>
       
    19 #include "testcommonpluginuids.h"
       
    20 #include "testvideoplaybackplugin.h"
       
    21 
       
    22 #if ( ! defined IMPLEMENTATION_PROXY_ENTRY )
       
    23 typedef TAny* TProxyNewLPtr;
       
    24 #define IMPLEMENTATION_PROXY_ENTRY(aUid,aFuncPtr) \
       
    25             { {aUid}, (TProxyNewLPtr)(aFuncPtr) }
       
    26 #endif
       
    27 
       
    28 // ----------------------------------------------------------------------------
       
    29 // The list of implementations
       
    30 // ----------------------------------------------------------------------------
       
    31 //
       
    32 const TImplementationProxy ImplementationTable[] = 
       
    33     { IMPLEMENTATION_PROXY_ENTRY( KPlaybackTestVideoPluginImpId, 
       
    34             CTestVideoPlaybackPlugin::NewL ) };
       
    35 
       
    36 // ----------------------------------------------------------------------------
       
    37 // The proxy of implementations
       
    38 // ----------------------------------------------------------------------------
       
    39 //
       
    40 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount)
       
    41 {
       
    42     aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy);
       
    43     return ImplementationTable;
       
    44 }
       
    45 
       
    46 // End of File