imageeditor/EditorProvider/src/Dllmain.cpp
changeset 1 edfc90759b9f
equal deleted inserted replaced
0:57d4cdd99204 1:edfc90759b9f
       
     1 /*
       
     2 * Copyright (c) 2010 Ixonos Plc.
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the "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 * Ixonos Plc
       
    14 *
       
    15 * Description:
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 /// INCLUDES
       
    22 #include <e32std.h>
       
    23 #include <bautils.h>
       
    24 #include <ImplementationProxy.h>
       
    25 #include "ImageEditorProvider.h"
       
    26 #include "ImageEditorUids.hrh"
       
    27 #include "ImageRotaterProvider.h"
       
    28 #include "ImageEditorProvider.hrh"
       
    29 
       
    30 const TImplementationProxy ImplementationTable[] =
       
    31 	{
       
    32 	IMPLEMENTATION_PROXY_ENTRY (UID_AIW_ECOM_IMPL,CEditorProvider::NewL),
       
    33 
       
    34 #if defined( JPEG_ROTATOR_AIW_PROVIDER_SUPPORT )	
       
    35 	IMPLEMENTATION_PROXY_ENTRY (KAiwCmdRotate,CRotateProvider::NewL)
       
    36 #endif
       
    37 	};
       
    38 
       
    39 
       
    40 // The one and only exported function that is the ECom entry point
       
    41 EXPORT_C const TImplementationProxy* ImplementationGroupProxy (TInt& aTableCount)
       
    42 	{
       
    43 	aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy);
       
    44 	return ImplementationTable;
       
    45 	}
       
    46 
       
    47 #ifndef EKA2
       
    48 /**
       
    49  * Standard Symbian OS DLL entry point.
       
    50  */
       
    51 TBool E32Dll(TDllReason)
       
    52 	{
       
    53 	return ETrue;
       
    54 	}
       
    55 #endif
       
    56 
       
    57 // End of File