photosgallery/slideshow/settingsdialog/src/shwslideshowsettingspluginproxy.cpp
changeset 0 4e91876724a2
equal deleted inserted replaced
-1:000000000000 0:4e91876724a2
       
     1 /*
       
     2 * Copyright (c) 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:    The slideshow settings dialog ecom plugin
       
    15  *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 //  EXTERNAL INCLUDES
       
    22 #include <ecom/implementationproxy.h>
       
    23 
       
    24 //  INTERNAL INCLUDES
       
    25 #include "shwslideshowsettingsplugin_UID.hrh"
       
    26 #include "shwslideshowsettingsplugin.h"
       
    27 
       
    28 
       
    29 
       
    30 #if (!defined IMPLEMENTATION_PROXY_ENTRY)
       
    31 typedef TAny* TProxyNewLPtr;
       
    32 #define IMPLEMENTATION_PROXY_ENTRY(aUid, aFuncPtr) {{aUid}, (TProxyNewLPtr)(aFuncPtr)}
       
    33 #endif
       
    34 
       
    35 
       
    36 
       
    37 // ========================== OTHER EXPORTED FUNCTIONS =========================
       
    38 
       
    39 //-----------------------------------------------------------------------------
       
    40 // ImplementationTable
       
    41 // Define the interface UIDs
       
    42 //-----------------------------------------------------------------------------
       
    43 //
       
    44 const TImplementationProxy ImplementationTable[] =
       
    45     {
       
    46     IMPLEMENTATION_PROXY_ENTRY( KShwSettingsDlgImplementationUid,
       
    47                                 CShwSlideshowSettingsPlugin::NewL )
       
    48     };
       
    49 
       
    50 //-----------------------------------------------------------------------------
       
    51 // ImplementationGroupProxy
       
    52 // The one and only exported function that is the ECom entry point
       
    53 //-----------------------------------------------------------------------------
       
    54 //
       
    55 EXPORT_C const TImplementationProxy* ImplementationGroupProxy
       
    56         (TInt& aTableCount)
       
    57     {
       
    58     aTableCount = sizeof( ImplementationTable ) / sizeof( TImplementationProxy );
       
    59     return ImplementationTable;
       
    60     }
       
    61 
       
    62 //  End of File
       
    63 
       
    64