scrsaver/scrsaverplugins/BmpAnimScrPlugin/src/BmpAnimScrPluginDll.cpp
branchRCL_3
changeset 26 e8d784ac1a4b
parent 0 040fcad49f44
equal deleted inserted replaced
25:aaeeca1f15af 26:e8d784ac1a4b
       
     1 /*
       
     2 * Copyright (c) 2003 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:     Plugin DLL export that creates the plugin object itself
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 #include "CBmpAnimScrPlugin.h"
       
    23 
       
    24 
       
    25 #ifndef EKA2
       
    26 // Dll entry point or something
       
    27 GLDEF_C TInt E32Dll(TDllReason)
       
    28 	{
       
    29 	return KErrNone;
       
    30 	}
       
    31 #endif
       
    32     
       
    33 
       
    34 #define KCScreensaverPluginInterfaceDefinitionImpUid 0x101F87F9
       
    35 
       
    36 #include <implementationproxy.h>
       
    37 
       
    38 // __________________________________________________________________________
       
    39 // Exported proxy for instantiation method resolution
       
    40 // Use the plugin UID and Implementation factory method
       
    41 // as a pair for ECom instantiation.
       
    42 const TImplementationProxy ImplementationTable[] =
       
    43 	{
       
    44 	IMPLEMENTATION_PROXY_ENTRY(KCScreensaverPluginInterfaceDefinitionImpUid, CBmpAnimScrPlugin::NewL)
       
    45 	};
       
    46 
       
    47 // Give the table to the caller
       
    48 EXPORT_C const TImplementationProxy* ImplementationGroupProxy( TInt& aTableCount )
       
    49 	{
       
    50 	aTableCount = sizeof( ImplementationTable ) / sizeof( TImplementationProxy );
       
    51 	return ImplementationTable;
       
    52 	}
       
    53 //  End of File